y static method

String y([
  1. DateTime? datetime
])

Implementation

static String y([DateTime? datetime]) => DateFormat.format(datetime, 'y');