QueryTotalClaimableRequest.fromJson constructor

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

Implementation

factory QueryTotalClaimableRequest.fromJson(Map<String, dynamic> json) {
  return QueryTotalClaimableRequest(
    airdropIdentifier: json.valueAsString<String?>(
      'airdrop_identifier',
      acceptCamelCase: true,
    ),
    address: json.valueAsString<String?>('address', acceptCamelCase: true),
    includeClaimed: json.valueAsBool<bool?>(
      'include_claimed',
      acceptCamelCase: true,
    ),
  );
}