toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'address': address,
      if (data != null) 'data': data,
      if (unreadableBytes != null) 'unreadableBytes': unreadableBytes,
    };