fromJson static method

EmailAddressAuthenticationCode? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static EmailAddressAuthenticationCode? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return EmailAddressAuthenticationCode(
    code: (json['code'] as String?) ?? '',
  );
}