This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Result { | |
| final dynamic value; | |
| final bool isSuccess; | |
| Result.success(this.value) : isSuccess = true; | |
| Result.error() : value = null, isSuccess = false; | |
| } | |
| Future<List<Result>> allSettled(List<Future> futures) async { | |
| return []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ignore_for_file: use_string_buffers | |
| import 'dart:async' show runZoned, runZonedGuarded; | |
| import 'dart:isolate' show Isolate, RawReceivePort; | |
| import 'dart:ui' as ui | |
| show | |
| Paragraph, | |
| ParagraphBuilder, | |
| ParagraphConstraints, | |
| ParagraphStyle, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| import Flutter | |
| @UIApplicationMain | |
| @objc class AppDelegate: FlutterAppDelegate { | |
| override func application( | |
| _ application: UIApplication, | |
| didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? | |
| ) -> Bool { | |
| GeneratedPluginRegistrant.register(with: self) |