ResourceIdentifier constructor

ResourceIdentifier({
  1. required String id,
  2. String? description,
})

Implementation

ResourceIdentifier({
  /// The resource identifier for the given content type.
  required String id,

  /// A human readable description of the resource.
  String? description,
}) : _wrapped = $js.ResourceIdentifier(
        id: id,
        description: description,
      );