Strategy.fromJson constructor

Strategy.fromJson(
  1. Map json_
)

Implementation

Strategy.fromJson(core.Map json_)
    : this(
        canary: json_.containsKey('canary')
            ? Canary.fromJson(
                json_['canary'] as core.Map<core.String, core.dynamic>)
            : null,
        standard: json_.containsKey('standard')
            ? Standard.fromJson(
                json_['standard'] as core.Map<core.String, core.dynamic>)
            : null,
      );