PublishingOptions.fromJson constructor

PublishingOptions.fromJson(
  1. Map json_
)

Implementation

PublishingOptions.fromJson(core.Map json_)
    : this(
        encodingFormat: json_.containsKey('encodingFormat')
            ? json_['encodingFormat'] as core.String
            : null,
        publishCaCert: json_.containsKey('publishCaCert')
            ? json_['publishCaCert'] as core.bool
            : null,
        publishCrl: json_.containsKey('publishCrl')
            ? json_['publishCrl'] as core.bool
            : null,
      );