fromJson static method
Returns a new RegisterData instance and imports its values from
json
if it's non-null, null if json
is null.
Implementation
static RegisterData? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return RegisterData(
agreement: RegisterDataAgreement.fromJson(json[r'agreement']),
email: json[r'email'],
invitation: json[r'invitation'],
password: json[r'password'],
);
}