Merge branch 'krille/follow-up-authentication-data' into 'main'
fix: Make AuthenticationData type and session optional See merge request famedly/famedlysdk!562
This commit is contained in:
commit
bd0c9b0e91
|
|
@ -29,8 +29,8 @@ class AuthenticationData {
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final data = <String, dynamic>{};
|
final data = <String, dynamic>{};
|
||||||
data['type'] = type;
|
if (type != null) data['type'] = type;
|
||||||
data['session'] = session;
|
if (session != null) data['session'] = session;
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue