copyBorderWith method

PinTheme copyBorderWith({
  1. required Border border,
})

Create a new PinTheme from the current instance with new border

Implementation

PinTheme copyBorderWith({required Border border}) {
  assert(decoration != null);
  return copyWith(
    decoration: decoration?.copyWith(border: border),
  );
}