ExtensionConfig.fromJson constructor

ExtensionConfig.fromJson(
  1. Map json_
)

Implementation

ExtensionConfig.fromJson(core.Map json_)
    : this(
        notificationReceiver: json_.containsKey('notificationReceiver')
            ? json_['notificationReceiver'] as core.String
            : null,
        signingKeyFingerprintsSha256:
            json_.containsKey('signingKeyFingerprintsSha256')
                ? (json_['signingKeyFingerprintsSha256'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
      );