$TestEntityFromJson function
Implementation
TestEntity $TestEntityFromJson(Map<String, dynamic> json) {
final TestEntity testEntity = TestEntity();
final String? hello = jsonConvert.convert<String>(json['hello']);
if (hello != null) {
testEntity.hello = hello;
}
final int? world = jsonConvert.convert<int>(json['world']);
if (world != null) {
testEntity.world = world;
}
final String? number = jsonConvert.convert<String>(json['number']);
if (number != null) {
testEntity.number = number;
}
return testEntity;
}