fromJson static method
Inherited by: InputStoryAreaTypeFoundVenue InputStoryAreaTypeLink InputStoryAreaTypeLocation InputStoryAreaTypeMessage InputStoryAreaTypePreviousVenue InputStoryAreaTypeSuggestedReaction InputStoryAreaTypeUpgradedGift InputStoryAreaTypeWeather
Implementation
static InputStoryAreaTypeFoundVenue? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputStoryAreaTypeFoundVenue(
queryId:
int.tryParse((json['query_id'] as dynamic)?.toString() ?? '') ?? 0,
resultId: (json['result_id'] as String?) ?? '',
);
}