DateDTO.fromJson constructor

DateDTO.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory DateDTO.fromJson(Map<String, Object?> json) {
  return DateDTO(
    epochMillis: (json[r'epochMillis'] as num?)?.toInt(),
    friendly: json[r'friendly'] as String?,
    iso8601: json[r'iso8601'] as String?,
    jira: json[r'jira'] as String?,
  );
}