PropertyGameHeaderTexts.fromJson constructor
PropertyGameHeaderTexts.fromJson(
- Map<String, dynamic> json
)
Implementation
factory PropertyGameHeaderTexts.fromJson(Map<String, dynamic> json) => PropertyGameHeaderTexts(
uuid: json['uuid'],
position: json['position'],
titleLocution: PropertyContent<MediaResourceAudio>.fromJson(json['title_locution']),
completedLocution: PropertyContent<MediaResourceAudio>.fromJson(json['completed_locution']),
notSurpassedLocution: PropertyContent<MediaResourceAudio>.fromJson(json['not_surpassed_locution']),
title: PropertyContent<MediaResourceRichText>.fromJson(json['title']),
completedMessage: PropertyContent<MediaResourceRichText>.fromJson(json['completed_message']),
notSurpassedMessage: PropertyContent<MediaResourceRichText>.fromJson(json['not_surpassed_message']),
);