UserInfoPublic.fromJson constructor
UserInfoPublic.fromJson(
- Map<
String, dynamic> jsonSerialization, - SerializationManager serializationManager
Implementation
factory UserInfoPublic.fromJson(
Map<String, dynamic> jsonSerialization,
_i1.SerializationManager serializationManager,
) {
return UserInfoPublic(
id: serializationManager.deserialize<int?>(jsonSerialization['id']),
userName: serializationManager
.deserialize<String>(jsonSerialization['userName']),
fullName: serializationManager
.deserialize<String?>(jsonSerialization['fullName']),
created: serializationManager
.deserialize<DateTime>(jsonSerialization['created']),
imageUrl: serializationManager
.deserialize<String?>(jsonSerialization['imageUrl']),
);
}