made use of first class citizen objects as json validator functions
This commit is contained in:
@@ -14,7 +14,8 @@ class UserDto with _$UserDto {
|
||||
}) = _UserDto;
|
||||
|
||||
/// JSON-Serialisierung
|
||||
factory UserDto.fromJson(Map<String, dynamic> json) => _$UserDtoFromJson(json);
|
||||
factory UserDto.fromJson(Map<String, dynamic> json) =>
|
||||
_$UserDtoFromJson(json);
|
||||
}
|
||||
|
||||
@freezed
|
||||
|
||||
Reference in New Issue
Block a user