fromJson static method

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

Implementation

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

  return AuthenticationCodeTypeSmsWord(
    firstLetter: (json['first_letter'] as String?) ?? '',
  );
}