일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- EventLoop
- dartz
- SampleApp
- AppleDeveloper
- 문법
- OpenAI
- weatherkit
- Architecture
- builder
- state
- LifeCycle
- GIT
- iot
- tuist
- SwiftUI
- concurrency
- WiFi
- Adapter
- Xcode
- uikit
- swift
- philipshue
- network
- designpattern
- WWDC24
- flutter
- isolate
- factory
- singleton
- dart
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