StateHistory.fromJson constructor

StateHistory.fromJson(
  1. Map json_
)

Implementation

StateHistory.fromJson(core.Map json_)
    : this(
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        stateMessage: json_.containsKey('stateMessage')
            ? json_['stateMessage'] as core.String
            : null,
        stateStartTime: json_.containsKey('stateStartTime')
            ? json_['stateStartTime'] as core.String
            : null,
      );