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