toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final accountId = this.accountId;
  final status = this.status;
  return {
    if (accountId != null) 'AccountId': accountId,
    if (status != null) 'Status': status.toValue(),
  };
}