fromJson static method

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

Implementation

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

  return TonWalletOwnershipProofChallenge(
    payload: (json['payload'] as String?) ?? '',
    domain: (json['domain'] as String?) ?? '',
  );
}