model/models library
Classes
- AppLocalSettingModel
-
选择的模式
0
- 跟随系统 (默认)1
- 亮色模式2
- 深色模式 - AppLocalSettingModelAdapter
- AskIntDialogParams
- AskOkDialogParams
- AskStringDialogParams
- BaseApiException
- ByteModel
- DartTypeModel
- ImageParams
- MyImage
- MyPlatform
- PictureSelectionI18nConfig
- PictureSelectionItemModel
- 图片选择器模型
- RequestParams
Extensions
- AppLocalSettingModelEx on AppLocalSettingModel
- BaseApiExceptionEx on BaseApiException
- ByteModelEx on ByteModel
- DartTypeModelDynEx on dynamic
- DartTypeModelEx on DartTypeModel
- ImageParamsEx on ImageParams
- JsonStringDataEx on JsonStringData
- MyImageEx on MyImage
- MyPlatformEx on MyPlatform
- PictureSelectionItemModelEx on PictureSelectionItemModel
- RequestParamsex on RequestParams
- ThemeModeEx on ThemeMode
Constants
- igFreezedJson → const JsonKey
Properties
- myPlatform → MyPlatform
-
no setter
Functions
-
decodeModelOrNull<
T> (String jsonString, T decode(Map< String, dynamic> jsonMap)) → T? -
tryString2Model<
T> (String data, T parse(Map< String, dynamic> json), T orElse()) → T
Typedefs
- CustomCompletedWidget = Widget? Function(ExtendedImageState state, ImageParams params, Widget child)
-
DioStart
= Future<
void> Function(Dio dio, String url) -
InterceptorCall
= ISet<
Interceptor> Function(ISet<Interceptor> old) - PM = PictureSelectionItemModel
- ReLoginSuccess = void Function()
- ResponseResultCallback = void Function(dynamic response)
- UrlParseFormat = String Function(String uri, dynamic queryParameters)