TeletextDestinationSettings.fromJson constructor
Implementation
factory TeletextDestinationSettings.fromJson(Map<String, dynamic> json) {
return TeletextDestinationSettings(
pageNumber: json['pageNumber'] as String?,
pageTypes: (json['pageTypes'] as List?)
?.whereNotNull()
.map((e) => (e as String).toTeletextPageType())
.toList(),
);
}