ConfigSettings.fromJson constructor

ConfigSettings.fromJson(
  1. Map json_
)

Implementation

ConfigSettings.fromJson(core.Map json_)
    : this(
        channel: json_.containsKey('channel')
            ? json_['channel'] as core.String
            : null,
        emulatedFormFactor: json_.containsKey('emulatedFormFactor')
            ? json_['emulatedFormFactor'] as core.String
            : null,
        formFactor: json_.containsKey('formFactor')
            ? json_['formFactor'] as core.String
            : null,
        locale: json_.containsKey('locale')
            ? json_['locale'] as core.String
            : null,
        onlyCategories: json_.containsKey('onlyCategories')
            ? json_['onlyCategories']
            : null,
      );