fromJson static method

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

Implementation

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

  return EmailAddressAuthenticationCodeInfo(
    emailAddressPattern: (json['email_address_pattern'] as String?) ?? '',
    length: (json['length'] as int?) ?? 0,
  );
}