ContentProviderEndpoint.fromJson constructor

ContentProviderEndpoint.fromJson(
  1. Map json_
)

Implementation

ContentProviderEndpoint.fromJson(core.Map json_)
    : this(
        packageName: json_.containsKey('packageName')
            ? json_['packageName'] as core.String
            : null,
        signingCertsSha256: json_.containsKey('signingCertsSha256')
            ? (json_['signingCertsSha256'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );