copy method
Implementation
CursorStyle copy() {
return CursorStyle(
foreground: foreground,
background: background,
attrs: attrs,
underlineStyle: underlineStyle,
underlineColor: underlineColor,
hyperlinkId: hyperlinkId,
);
}