fromJson static method

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

Implementation

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

  return TestVectorInt(
    value: List<int>.from(
      tdListFromJson(
        json['value'],
      ).map((item) => int.tryParse((item as dynamic)?.toString() ?? '') ?? 0),
    ),
  );
}