toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'setCustomLanguagePackString',
    if (extra != null) '@extra': extra,
    'language_pack_id': language_pack_id,
    'new_string': new_string
  };
}