UserImage.fromJson constructor
UserImage.fromJson(
- Map<
String, dynamic> jsonSerialization, - SerializationManager serializationManager
Implementation
factory UserImage.fromJson(
Map<String, dynamic> jsonSerialization,
_i1.SerializationManager serializationManager,
) {
return UserImage(
id: serializationManager.deserialize<int?>(jsonSerialization['id']),
userId:
serializationManager.deserialize<int>(jsonSerialization['userId']),
version:
serializationManager.deserialize<int>(jsonSerialization['version']),
url: serializationManager.deserialize<String>(jsonSerialization['url']),
);
}