factory DeleteCollectionRequest.fromJson(Map<String, dynamic> json) => DeleteCollectionRequest(collection: json['collection'] as String);