LiaSettings.fromJson constructor

LiaSettings.fromJson(
  1. Map json_
)

Implementation

LiaSettings.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        countrySettings: json_.containsKey('countrySettings')
            ? (json_['countrySettings'] as core.List)
                .map((value) => LiaCountrySettings.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );