withValue method

DiagramOptions withValue(
  1. Object value
)

A copy with value replacing the options of its type.

Implementation

DiagramOptions withValue(Object value) => DiagramOptions._(
  Map.unmodifiable({...values, value.runtimeType: value}),
  bounds,
  fonts,
  defaultFontFamily,
);