toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (folders != null) 'folders': folders!,
      if (resourceDisplayName != null)
        'resourceDisplayName': resourceDisplayName!,
      if (resourceName != null) 'resourceName': resourceName!,
      if (resourceOwners != null) 'resourceOwners': resourceOwners!,
      if (resourceParent != null) 'resourceParent': resourceParent!,
      if (resourceParentDisplayName != null)
        'resourceParentDisplayName': resourceParentDisplayName!,
      if (resourceProject != null) 'resourceProject': resourceProject!,
      if (resourceProjectDisplayName != null)
        'resourceProjectDisplayName': resourceProjectDisplayName!,
      if (resourceType != null) 'resourceType': resourceType!,
    };