value property
String
value
Implementation
String get value {
switch (this) {
case Interval.m1:
return '1m';
case Interval.m3:
return '3m';
case Interval.m5:
return '5m';
case Interval.m15:
return '15m';
case Interval.m30:
return '30m';
case Interval.h1:
return '1h';
case Interval.h2:
return '2h';
case Interval.h4:
return '4h';
case Interval.h6:
return '6h';
case Interval.h8:
return '8h';
case Interval.h12:
return '12h';
case Interval.d1:
return '1d';
case Interval.d3:
return '3d';
case Interval.w1:
return '1w';
case Interval.w4:
return '1M';
}
}