ServiceLevelIndicator.fromJson constructor

ServiceLevelIndicator.fromJson(
  1. Map json_
)

Implementation

ServiceLevelIndicator.fromJson(core.Map json_)
    : this(
        basicSli: json_.containsKey('basicSli')
            ? BasicSli.fromJson(
                json_['basicSli'] as core.Map<core.String, core.dynamic>)
            : null,
        requestBased: json_.containsKey('requestBased')
            ? RequestBasedSli.fromJson(
                json_['requestBased'] as core.Map<core.String, core.dynamic>)
            : null,
        windowsBased: json_.containsKey('windowsBased')
            ? WindowsBasedSli.fromJson(
                json_['windowsBased'] as core.Map<core.String, core.dynamic>)
            : null,
      );