EvaluationParserConfig_CustomCodeParserConfig.fromJson constructor

EvaluationParserConfig_CustomCodeParserConfig.fromJson(
  1. Object? j
)

Implementation

factory EvaluationParserConfig_CustomCodeParserConfig.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return EvaluationParserConfig_CustomCodeParserConfig(
    parsingFunction: switch (json['parsingFunction']) {
      null => null,
      Object $1 => decodeString($1),
    },
  );
}