AppState.fromJson constructor

AppState.fromJson(
  1. Map json_
)

Implementation

AppState.fromJson(core.Map json_)
    : this(
        keyedAppState: json_.containsKey('keyedAppState')
            ? (json_['keyedAppState'] as core.List)
                .map((value) => KeyedAppState.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        packageName: json_.containsKey('packageName')
            ? json_['packageName'] as core.String
            : null,
      );