ChartJsonOptionPatchOperation.fromEntry constructor

ChartJsonOptionPatchOperation.fromEntry(
  1. ChartJsonOptionPatchEntry entry
)

Implementation

factory ChartJsonOptionPatchOperation.fromEntry(
  ChartJsonOptionPatchEntry entry,
) {
  return ChartJsonOptionPatchOperation(
    kind: _operationKind(entry.changeKind),
    schemaName: entry.schemaName,
    canonicalField: entry.canonicalField,
    jsonPath: entry.jsonPath,
    value: entry.value,
    previousValue: entry.previousValue,
    hasPreviousValue: entry.hasPreviousValue,
    isValid: entry.isValid,
    valueKey: entry.valueKey,
  );
}