DvbSdtSettings.fromJson constructor

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

Implementation

factory DvbSdtSettings.fromJson(Map<String, dynamic> json) {
  return DvbSdtSettings(
    outputSdt: (json['outputSdt'] as String?)?.toOutputSdt(),
    sdtInterval: json['sdtInterval'] as int?,
    serviceName: json['serviceName'] as String?,
    serviceProviderName: json['serviceProviderName'] as String?,
  );
}