-
with this program;
`main.dart`
```dart
import "package:test/test.dart";
class Person {
late int age;
Person(this.age);
}
void main() {
test("test something", () {
var a =…
komuw updated
4 years ago
-
I'm currently generating dart code from json instances.
Basically it works good, however I ran into one annoying issue:
When quicktype generates it's toJson() method, it assumes lists are never nu…
-
Confirm by changing [ ] to [x] below to ensure that it's a bug:
- [x] I've gone though the [User Guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html) and the [API reference]…
-
````
import 'package:mobx/mobx.dart';
import 'package:dart_json_mapper/dart_json_mapper.dart';
part 'test_dart_json_map.g.dart';
@jsonSerializable
class TestItem with Store{
int id;
@o…
-
Hi @k-paxian,
I was afraid you got bored, so I found you a new issue 😂
My Map (Firebase) has a DateTime field but it's not present on my Model, but JsonMapper still want to deserialize it :
`J…
-
Hi,
Run into this issue an issue with equatable today.
The following code :
``` dart
import 'package:dart_json_mapper/dart_json_mapper.dart';
import 'package:equatable/equatable.dart';
e…
-
I accidentally discovered [dart-json-mapper](https://github.com/k-paxian/dart-json-mapper) which looks very pretty.
But I can't get him to live with mobx_codegen ...
Any help?
Thanks!
-
I can't guess what I'm doing wrong, here is my json
```json
[
{
"title": "Salads & Dips",
"items": [
{
"id": "1",
"title": "Columbia Salad",
}
]
…
-
我使用[dart-json-mapper](https://github.com/k-paxian/dart-json-mapper)做json解析 避免重复代码
在生成代码中我想替换如下代码
```
final value = T.fromJson(_result.data) ;
```
成
```
final value = JsonMapper.deserialize(_…
-
Hi,
I run into an issue :
![image](https://user-images.githubusercontent.com/6307253/76373597-27cd2000-6341-11ea-9d09-dd82b656bd2f.png)
> Unsupported operation: Attempt to obtain `reflectedTy…