StragglerInfo.fromJson constructor

StragglerInfo.fromJson(
  1. Map json_
)

Implementation

StragglerInfo.fromJson(core.Map json_)
    : this(
        causes: json_.containsKey('causes')
            ? (json_['causes'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  StragglerDebuggingInfo.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );