forked from firka/student-legacy
fixed message sending error
This commit is contained in:
parent
d2d36c3d0f
commit
52b4a9429b
@ -3,7 +3,7 @@ description: "Nem hivatalos e-napló alkalmazás az e-Kréta rendszerhez"
|
||||
homepage: https://refilc.hu
|
||||
publish_to: "none"
|
||||
|
||||
version: 4.5.0+236
|
||||
version: 4.5.0+237
|
||||
|
||||
environment:
|
||||
sdk: ">=2.17.0 <3.0.0"
|
||||
|
@ -156,9 +156,8 @@ class SendRecipient {
|
||||
});
|
||||
|
||||
factory SendRecipient.fromJson(Map json, SendRecipientType type) {
|
||||
print(json);
|
||||
return SendRecipient(
|
||||
id: int.parse(json['kretaAzonosito'] ?? '0'),
|
||||
id: json['kretaAzonosito'] ?? 0,
|
||||
kretaId: json['kretaAzonosito'],
|
||||
name: json['nev'],
|
||||
type: type,
|
||||
|
Loading…
x
Reference in New Issue
Block a user