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