toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (assetType != null) 'assetType': assetType!,
      if (explanation != null) 'explanation': explanation!,
      if (folders != null) 'folders': folders!,
      if (organization != null) 'organization': organization!,
      if (policy != null) 'policy': policy!,
      if (project != null) 'project': project!,
      if (resource != null) 'resource': resource!,
    };