EmailReset.fromJson constructor

EmailReset.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory EmailReset.fromJson(Map<String, dynamic> jsonSerialization) {
  return EmailReset(
    id: jsonSerialization['id'] as int?,
    userId: jsonSerialization['userId'] as int,
    verificationCode: jsonSerialization['verificationCode'] as String,
    expiration:
        _i1.DateTimeJsonExtension.fromJson(jsonSerialization['expiration']),
  );
}