fromJson static method

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

Creates Class Object from Json

Implementation

static Si1Type fromJson(Map<String, dynamic> map) => Si1Type(
      path: (map['path'] as List).cast<String>(),
      params: (map['params'] as List)
          .map((value) => Si1TypeParameter.fromJson(value))
          .toList(growable: false),
      def: Si1TypeDef.fromJson(map['def']),
      docs: (map['docs'] as List).cast<String>(),
    );