fromJson static method

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

Creates Class Object from Json

Implementation

static StorageEntryMetadataV14 fromJson(Map<String, dynamic> map) =>
    StorageEntryMetadataV14(
      name: map['name'],
      modifier: StorageEntryModifierV9.fromKey(map['modifier']),
      type: StorageEntryTypeV14.fromJson(map['type']),
      fallback: Uint8List.fromList((map['fallback'] as List).cast<int>()),
      docs: (map['docs'] as List).cast<String>(),
    );