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
11
lib/models/ms_duration.dart
Normal file
11
lib/models/ms_duration.dart
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
|
||||
class MSDuration implements JsonConverter<Duration, int> {
|
||||
const MSDuration();
|
||||
|
||||
@override
|
||||
Duration fromJson(int ms) => Duration(milliseconds: ms);
|
||||
|
||||
@override
|
||||
int toJson(Duration duration) => duration.inMilliseconds;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue