KeyedAppState.fromJson constructor

KeyedAppState.fromJson(
  1. Map json_
)

Implementation

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