fromJson static method

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

Implementation

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

  return AuthorizationStateWaitCode(
    codeInfo: AuthenticationCodeInfo.fromJson(
      tdMapFromJson(json['code_info']),
    ),
  );
}