fromJson static method

TestVectorIntObject? fromJson(
  1. Map<String, dynamic>? json
)

Implementation

static TestVectorIntObject? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return TestVectorIntObject(
    value: List<TestInt>.from(
      tdListFromJson(json['value'])
          .map((item) => TestInt.fromJson(tdMapFromJson(item)))
          .whereType<TestInt>(),
    ),
  );
}