toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (invoicesBatch != null) {
    json[r'invoicesBatch'] = invoicesBatch;
  }
  if (message != null) {
    json[r'message'] = message;
  }
  return json;
}