fromJson static method

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

Creates Class Object from Json

Implementation

static Si1TypeDefVariant fromJson(Map<String, dynamic> map) =>
    Si1TypeDefVariant(
      variants: (map['variants'] as List)
          .map((value) => Si1Variant.fromJson(value))
          .toList(growable: false),
    );