SourceMetadata.fromJson constructor

SourceMetadata.fromJson(
  1. Map _json
)

Implementation

SourceMetadata.fromJson(core.Map _json)
    : this(
        estimatedSizeBytes: _json.containsKey('estimatedSizeBytes')
            ? _json['estimatedSizeBytes'] as core.String
            : null,
        infinite: _json.containsKey('infinite')
            ? _json['infinite'] as core.bool
            : null,
        producesSortedKeys: _json.containsKey('producesSortedKeys')
            ? _json['producesSortedKeys'] as core.bool
            : null,
      );