String format([String pattern = 'dd.MM.yyyy']) => this != null ? DateFormat(pattern).format(this!).toString() : '';