KeyedAppState.fromJson constructor

KeyedAppState.fromJson(
  1. Map json_
)

Implementation

KeyedAppState.fromJson(core.Map json_)
    : this(
        data: json_.containsKey('data') ? json_['data'] as core.String : null,
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
        severity: json_.containsKey('severity')
            ? json_['severity'] as core.String
            : null,
        stateTimestampMillis: json_.containsKey('stateTimestampMillis')
            ? json_['stateTimestampMillis'] as core.String
            : null,
      );