StatusDetails.fromJson constructor

StatusDetails.fromJson(
  1. Map json_
)

Implementation

StatusDetails.fromJson(core.Map json_)
    : this(
        causes: json_.containsKey('causes')
            ? (json_['causes'] as core.List)
                .map((value) => StatusCause.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        group:
            json_.containsKey('group') ? json_['group'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        retryAfterSeconds: json_.containsKey('retryAfterSeconds')
            ? json_['retryAfterSeconds'] as core.int
            : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
      );