fromJson static method

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

Creates Class Object from Json

Implementation

static FunctionMetadataV9 fromJson(Map<String, dynamic> map) =>
    FunctionMetadataV9(
        name: map['name'],
        docs: (map['docs'] as List).cast<String>(),
        args: (map['args'] as List)
            .map((value) => FunctionArgumentMetadataV9.fromJson(value))
            .toList(growable: false));