QueryMachineIDProofRequest.fromJson constructor

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

Implementation

factory QueryMachineIDProofRequest.fromJson(Map<String, dynamic> json) {
  return QueryMachineIDProofRequest(
    height: json.valueAsBigInt<BigInt?>('height', acceptCamelCase: true),
    machineId: json.valueAsString<String?>(
      'machine_id',
      acceptCamelCase: true,
    ),
  );
}