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