일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- singleton
- iot
- uikit
- designpattern
- isolate
- SampleApp
- state
- OpenAI
- WiFi
- flutter
- tuist
- LifeCycle
- philipshue
- concurrency
- Architecture
- SwiftUI
- EventLoop
- swift
- 문법
- Xcode
- builder
- GIT
- network
- Adapter
- dart
- AppleDeveloper
- WWDC24
- dartz
- factory
- weatherkit
Archives
- Today
- Total
목록dartz (1)
Jaebi의 Binary는 호남선
Flutter - Dartz
목차https://pub.dev/packages/dartz함수형 프로그래밍 기능 제공Naive Approach:class Response{ Failure? failure; Person? person; bool get hasError => failure!=null; Response(dynamic response){ if(response is Failure) this.failure = response; else this.person = response; }} Response res = Response(failedReponse); res.person = validResponse; //now 'res' has both person and failure발생하는 문제: Resp..
Flutter
2024. 6. 1. 19:23