toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final viewerProtocolPolicy = this.viewerProtocolPolicy;
  return {
    if (viewerProtocolPolicy != null)
      'ViewerProtocolPolicy': viewerProtocolPolicy,
  };
}