fromJson static method

Si1Variant fromJson(
  1. Map<String, dynamic> map
)

Creates Class Object from Json

Implementation

static Si1Variant fromJson(Map<String, dynamic> map) => Si1Variant(
    name: map['name'],
    fields: (map['fields'] as List)
        .map((value) => Si1Field.fromJson(value))
        .toList(growable: false),
    index: map['index'],
    docs: (map['docs'] as List).cast<String>());