UMediaNote.create constructor
UMediaNote.create({})
New note at position (optionally a range to end).
Implementation
factory UMediaNote.create({required Duration position, Duration? end, String text = "", Color color = const Color(0xFFFFC107)}) {
final DateTime now = DateTime.now();
return UMediaNote(id: _noteId(), position: position, end: end, text: text, color: color, createdAt: now, updatedAt: now);
}