FunctionParam.fromJson constructor

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

Implementation

factory FunctionParam.fromJson(Map<String, dynamic> map) {
  return FunctionParam(
    name: map['name'],
    type: FunctionParamType.fromString(map['type']),
    indexed: map['indexed'] as bool? ?? false,
  );
}