factory StoryPromocodeComponent.fromJson(Map<String, dynamic> json) { return StoryPromocodeComponent( type: json['type'], id: json['id'], text: json['text'], ); }