fromJson static method

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

Creates Class Object from Json

Implementation

static PalletConstantMetadataV14 fromJson(Map<String, dynamic> map) =>
    PalletConstantMetadataV14(
        name: map['name'],
        type: map['type'],
        value: Uint8List.fromList((map['value'] as List).cast<int>()),
        docs: (map['docs'] as List).cast<String>());