fromJson static method

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

Implementation

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

  return AuthenticationCodeTypeCall(length: (json['length'] as int?) ?? 0);
}