formatter top-level property

DateFormat formatter
final

Implementation

final DateFormat formatter = DateFormat('yyyy-MM-dd');