AppContext.fromJson constructor

AppContext.fromJson(
  1. Map _json
)

Implementation

AppContext.fromJson(core.Map _json)
    : this(
        appTypes: _json.containsKey('appTypes')
            ? (_json['appTypes'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
      );