FunctionOperand.fromJson constructor

FunctionOperand.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory FunctionOperand.fromJson(Map<String, Object?> json) {
  return FunctionOperand(
    arguments: (json[r'arguments'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
    encodedOperand: json[r'encodedOperand'] as String?,
    function: json[r'function'] as String? ?? '',
  );
}