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,
      );