Project constructor

const Project({
  1. @JsonKey(name: 'has_public_url', defaultValue: false) @Default(false) bool hasPublicUrl,
  2. @JsonKey(name: 'last_heartbeat_at') required DateTime lastHeartbeatAt,
  3. @JsonKey(name: 'urlencoded_name') String? urlEncodedName,
  4. required String id,
  5. required String name,
  6. Repository? repository,
  7. String? url,
})

Implementation

const factory Project({
  @JsonKey(name: 'has_public_url', defaultValue: false)
  @Default(false)
      bool hasPublicUrl,
  @JsonKey(name: 'last_heartbeat_at') required DateTime lastHeartbeatAt,
  @JsonKey(name: 'urlencoded_name') String? urlEncodedName,
  required String id,
  required String name,
  Repository? repository,
  String? url,
}) = _Project;