name property
String
get
name
Implementation
String get name => switch (this) {
ActivityType.inVehicle => "IN_VEHICLE",
ActivityType.onBicycle => "ON_BICYCLE",
ActivityType.running => "RUNNING",
ActivityType.onFoot => "ON_FOOT",
ActivityType.walking => "WALKING",
ActivityType.tilting => "TILTING",
ActivityType.still => "STILL",
ActivityType.unknown => "UNKNOWN",
};