factory FileData.fromJson(Map<String, dynamic> json) { return FileData( mimeType: json['mimeType'] ?? '', fileUri: json['fileUri'] ?? '', ); }