toJson method

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

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'storageStatisticsFast',
    if (extra != null) '@extra': extra,
    'files_size': files_size,
    'file_count': file_count,
    'database_size': database_size,
    'language_pack_database_size': language_pack_database_size,
    'log_size': log_size
  };
}