SourceSplitOptions.fromJson constructor

SourceSplitOptions.fromJson(
  1. Map json_
)

Implementation

SourceSplitOptions.fromJson(core.Map json_)
    : this(
        desiredBundleSizeBytes: json_.containsKey('desiredBundleSizeBytes')
            ? json_['desiredBundleSizeBytes'] as core.String
            : null,
        desiredShardSizeBytes: json_.containsKey('desiredShardSizeBytes')
            ? json_['desiredShardSizeBytes'] as core.String
            : null,
      );