TcxWorkout class

Annotations
  • @XmlRootElement.new(namespace: namespaceTrainingCenterDatabaseV2)
  • @XmlSerializable.new(fieldRename: annotation.FieldRename.pascal)

Constructors

TcxWorkout({required String name, required List<TcxAbstractStep> step, required TcxSport sport, List<DateTime>? scheduledOn, TcxExtensions? extensions, String? notes, TcxAbstractSource? creator})
TcxWorkout.fromXmlElement(XmlElement element)
factory

Properties

creator TcxAbstractSource?
getter/setter pair
extensions TcxExtensions?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pair
notes String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduledOn List<DateTime>?
getter/setter pair
sport TcxSport
getter/setter pair
step List<TcxAbstractStep>
Every stepId within a workout should be unique, as a consequence a maximum of 20 steps is allowed in a workout.
getter/setter pair

Methods

buildXmlChildren(XmlBuilder builder, {Map<String, String> namespaces = const {}}) → void
buildXmlElement(XmlBuilder builder, {Map<String, String> namespaces = const {}}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXmlAttributes({Map<String, String?> namespaces = const {}}) List<XmlAttribute>
toXmlChildren({Map<String, String?> namespaces = const {}}) List<XmlNode>
toXmlElement({Map<String, String?> namespaces = const {}}) → XmlElement

Operators

operator ==(Object other) bool
The equality operator.
inherited