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