fromJson static method
Implementation
static TextCompositionParameters? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return TextCompositionParameters(
translateToLanguageCode:
(json['translate_to_language_code'] as String?) ?? '',
styleName: (json['style_name'] as String?) ?? '',
addEmojis: (json['add_emojis'] as bool?) ?? false,
fixText: (json['fix_text'] as bool?) ?? false,
);
}