toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final streamEnabled = this.streamEnabled;
  final streamViewType = this.streamViewType;
  return {
    'StreamEnabled': streamEnabled,
    if (streamViewType != null) 'StreamViewType': streamViewType.toValue(),
  };
}