$CollectionSelector.fromJson constructor

$CollectionSelector.fromJson(
  1. Map _json
)

Implementation

$CollectionSelector.fromJson(core.Map _json)
    : this(
        allDescendants: _json.containsKey('allDescendants')
            ? _json['allDescendants'] as core.bool
            : null,
        collectionId: _json.containsKey('collectionId')
            ? _json['collectionId'] as core.String
            : null,
      );