fromJson static method

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

Creates Class Object from Json

Implementation

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