fromJson static method

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

Creates Class Object from Json

Implementation

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