toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (permission != null) 'permission': permission!,
      if (resourceContainer != null) 'resourceContainer': resourceContainer!,
      if (resourceLocation != null) 'resourceLocation': resourceLocation!,
      if (resourceName != null) 'resourceName': resourceName!,
    };