toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'hex_bytes': hexBytes,
    'address': address,
    'account_identifier': accountIdentifier?.toJson(),
    'signature_type': signatureType,
  }..removeWhere((key, value) => value == null);
}