toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (action != null) 'action': action!,
  if (path != null) 'path': path!,
  if (pathFilters != null) 'pathFilters': pathFilters!,
  if (pathValueMatchers != null) 'pathValueMatchers': pathValueMatchers!,
  if (resource != null) 'resource': resource!,
  if (resourceType != null) 'resourceType': resourceType!,
  if (sourcePath != null) 'sourcePath': sourcePath!,
  if (sourceResource != null) 'sourceResource': sourceResource!,
  if (value != null) 'value': value!,
  if (valueMatcher != null) 'valueMatcher': valueMatcher!,
};