fromJson static method

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

Creates Class Object from Json

Implementation

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