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