toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final fromAddress = this.fromAddress;
  return {
    if (fromAddress != null) 'FromAddress': fromAddress,
  };
}