toDateTime method

String toDateTime (
  1. {int value}
)

DATETIME equivalent column with precision (total digits).

Implementation

String toDateTime({int value}) {
  return "\$table->dateTime('$this', $value);";
}