toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (databaseId != null) 'databaseId': databaseId!,
      if (mode != null) 'mode': mode!,
      if (mutations != null) 'mutations': mutations!,
      if (singleUseTransaction != null)
        'singleUseTransaction': singleUseTransaction!,
      if (transaction != null) 'transaction': transaction!,
    };