toFrappeDateTime static method

String? toFrappeDateTime(
  1. DateTime? dateTime
)

Implementation

static String? toFrappeDateTime(DateTime? dateTime) {
  if (dateTime == null) {
    return null;
  }
  return dateTime.toFrappeDateTimeString();
}