fromJson static method

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

Creates Class Object from Json

Implementation

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