AllowedDomainsSettings.fromJson constructor

AllowedDomainsSettings.fromJson(
  1. Map json_
)

Implementation

AllowedDomainsSettings.fromJson(core.Map json_)
    : this(
        domains: json_.containsKey('domains')
            ? (json_['domains'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        enable:
            json_.containsKey('enable') ? json_['enable'] as core.bool : null,
      );