ChoosePrivateKeyRule.fromJson constructor

ChoosePrivateKeyRule.fromJson(
  1. Map json_
)

Implementation

ChoosePrivateKeyRule.fromJson(core.Map json_)
    : this(
        packageNames: json_.containsKey('packageNames')
            ? (json_['packageNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        privateKeyAlias: json_.containsKey('privateKeyAlias')
            ? json_['privateKeyAlias'] as core.String
            : null,
        urlPattern: json_.containsKey('urlPattern')
            ? json_['urlPattern'] as core.String
            : null,
      );