ManualSharding.fromJson constructor

ManualSharding.fromJson(
  1. Map json_
)

Implementation

ManualSharding.fromJson(core.Map json_)
    : this(
        testTargetsForShard: json_.containsKey('testTargetsForShard')
            ? (json_['testTargetsForShard'] as core.List)
                .map((value) => TestTargetsForShard.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );