toJson method

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

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'scopeAutosaveSettings',
    if (extra != null) '@extra': extra,
    'autosave_photos': autosave_photos,
    'autosave_videos': autosave_videos,
    'max_video_file_size': max_video_file_size
  };
}