toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "signing_payload": signing_payload.toJson(),
      "public_key": public_key.toJson(),
      "signature_type": signature_type,
      "hex_bytes": hex_bytes
    }..removeWhere(
        (dynamic key, dynamic value) => key == null || value == null);