copyWith method
TextStyleEntity
copyWith(
- TextStyleEntity e, {
- String? id,
- String? stabilID,
- String? branchID,
- String? name,
- String? fontFamily,
- FFontSize? fontSize,
- FFontWeight? fontWeight,
Implementation
TextStyleEntity copyWith(final TextStyleEntity e,
{final String? id,
final String? stabilID,
final String? branchID,
final String? name,
final String? fontFamily,
final FFontSize? fontSize,
final FFontWeight? fontWeight}) =>
TextStyleEntity(
id: id ?? e.id,
stabilID: stabilID ?? e.stabilID,
branchID: branchID ?? e.branchID,
name: name ?? e.name,
fontFamily: fontFamily ?? e.fontFamily,
fontSize: fontSize ?? e.fontSize,
fontWeight: fontWeight ?? e.fontWeight);