fromJson static method

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

Creates Class Object from Json

Implementation

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