FunctionParamWithValue<T>.fromJson constructor

FunctionParamWithValue<T>.fromJson(
  1. Map map
)

Implementation

factory FunctionParamWithValue.fromJson(Map map) {
  return FunctionParamWithValue(
    value: map['value'],
    name: map['name'],
    indexed: map['indexed'] as bool? ?? false,
    type: FunctionParamType.fromString(map['type']),
  );
}