EmailCreateAccountRequest.fromJson constructor

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

Implementation

factory EmailCreateAccountRequest.fromJson(
    Map<String, dynamic> jsonSerialization) {
  return EmailCreateAccountRequest(
    id: jsonSerialization['id'] as int?,
    userName: jsonSerialization['userName'] as String,
    email: jsonSerialization['email'] as String,
    hash: jsonSerialization['hash'] as String,
    verificationCode: jsonSerialization['verificationCode'] as String,
  );
}