toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (account != null) 'account': account!,
      if (accountId != null) 'accountId': accountId!,
      if (batchId != null) 'batchId': batchId!,
      if (force != null) 'force': force!,
      if (labelIds != null) 'labelIds': labelIds!,
      if (linkRequest != null) 'linkRequest': linkRequest!,
      if (merchantId != null) 'merchantId': merchantId!,
      if (method != null) 'method': method!,
      if (overwrite != null) 'overwrite': overwrite!,
      if (view != null) 'view': view!,
    };