fromJson static method

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

Creates Class Object from Json

Implementation

static MetadataV11 fromJson(Map<String, dynamic> map) => MetadataV11(
    modules: (map['modules'] as List)
        .map((value) => ModuleMetadataV11.fromJson(value))
        .toList(growable: false),
    extrinsic: ExtrinsicMetadataV11.fromJson(map['extrinsic']));