StepEntry.fromJson constructor

StepEntry.fromJson(
  1. Map json_
)

Implementation

StepEntry.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        entryId: json_.containsKey('entryId')
            ? json_['entryId'] as core.String
            : null,
        exception: json_.containsKey('exception')
            ? Exception.fromJson(
                json_['exception'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        navigationInfo: json_.containsKey('navigationInfo')
            ? NavigationInfo.fromJson(json_['navigationInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        routine: json_.containsKey('routine')
            ? json_['routine'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        step: json_.containsKey('step') ? json_['step'] as core.String : null,
        stepEntryMetadata: json_.containsKey('stepEntryMetadata')
            ? StepEntryMetadata.fromJson(json_['stepEntryMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        stepType: json_.containsKey('stepType')
            ? json_['stepType'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );