TestVectorStringObject.fromJson constructor

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

Parse from a json

Implementation

factory TestVectorStringObject.fromJson(Map<String, dynamic> json) =>
    TestVectorStringObject(
      value: List<TestString>.from((json['value'] ?? [])
          .map((item) => TestString.fromJson(item))
          .toList()),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );