toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessControl != null) 'accessControl': accessControl!,
      if (actionId != null) 'actionId': actionId!,
      if (addToFolder != null) 'addToFolder': addToFolder!,
      if (dataUpdate != null) 'dataUpdate': dataUpdate!,
      if (dataValidation != null) 'dataValidation': dataValidation!,
      if (deleteDocumentAction != null)
        'deleteDocumentAction': deleteDocumentAction!,
      if (publishToPubSub != null) 'publishToPubSub': publishToPubSub!,
      if (removeFromFolderAction != null)
        'removeFromFolderAction': removeFromFolderAction!,
    };