fromJson static method

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

Implementation

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

  return AuthenticationCodeTypeMissedCall(
    phoneNumberPrefix: (json['phone_number_prefix'] as String?) ?? '',
    length: (json['length'] as int?) ?? 0,
  );
}