unit property Null safety

String? unit
read / write

The unit used for the duration Possible string values are:

  • "UNIT_UNSPECIFIED" : Default value.
  • "MONTH" : Unit of a calendar month.
  • "DAY" : Unit of a day.

Implementation

core.String? unit;