Remove flutter chat (#26)
Had to squash merge manually as Forgejo was erroring
This commit is contained in:
parent
bd1d5ea745
commit
16cf126df4
111 changed files with 3162 additions and 2366 deletions
15
lib/models/info/file.dart
Normal file
15
lib/models/info/file.dart
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
part "file.freezed.dart";
|
||||
part "file.g.dart";
|
||||
|
||||
@freezed
|
||||
abstract class FileInfo with _$FileInfo {
|
||||
/// Information for images, [size] is in bytes.
|
||||
const factory FileInfo({
|
||||
@JsonKey(name: "mimetype") String? mimeType,
|
||||
int? size,
|
||||
}) = _FileInfo;
|
||||
|
||||
factory FileInfo.fromJson(Map<String, Object?> json) =>
|
||||
_$FileInfoFromJson(json);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue