toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (packages != null)
        'packages': packages!.map((value) => value.toJson()).toList(),
      if (resourceUri != null) 'resourceUri': resourceUri!,
    };