StreamSpecification.fromJson constructor

StreamSpecification.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory StreamSpecification.fromJson(Map<String, dynamic> json) {
  return StreamSpecification(
    streamEnabled: json['StreamEnabled'] as bool,
    streamViewType: (json['StreamViewType'] as String?)?.toStreamViewType(),
  );
}