createdAt property

DateTime? get createdAt

Returns DateTime createdAt

Implementation

DateTime? get createdAt {
  if (get<dynamic>(keyVarCreatedAt) is String) {
    final String? dateAsString = get<String>(keyVarCreatedAt);
    return dateAsString != null ? _parseDateFormat.parse(dateAsString) : null;
  } else {
    return get<DateTime>(keyVarCreatedAt);
  }
}