toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'objectId': objectId,
      'type': type,
      'kind': kind,
      'from': fromAddress,
      'to': toAddress,
    };