TrinaGridEvent constructor
TrinaGridEvent({
- TrinaGridEventType type = TrinaGridEventType.normal,
- Duration? duration,
Implementation
TrinaGridEvent({
this.type = TrinaGridEventType.normal,
this.duration,
}) : assert(
type.isNormal || duration != null,
'If type is normal or type is not normal then duration is required.',
);