529 lines
15 KiB
Dart
529 lines
15 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|||
|
|
// coverage:ignore-file
|
||
|
|
// ignore_for_file: type=lint
|
||
|
|
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
|
||
|
|
|
||
|
|
part of 'api_exception.dart';
|
||
|
|
|
||
|
|
// **************************************************************************
|
||
|
|
// FreezedGenerator
|
||
|
|
// **************************************************************************
|
||
|
|
|
||
|
|
// dart format off
|
||
|
|
T _$identity<T>(T value) => value;
|
||
|
|
/// @nodoc
|
||
|
|
mixin _$ApiException {
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
bool operator ==(Object other) {
|
||
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is ApiException);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
int get hashCode => runtimeType.hashCode;
|
||
|
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'ApiException()';
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
class $ApiExceptionCopyWith<$Res> {
|
||
|
|
$ApiExceptionCopyWith(ApiException _, $Res Function(ApiException) __);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/// Adds pattern-matching-related methods to [ApiException].
|
||
|
|
extension ApiExceptionPatterns on ApiException {
|
||
|
|
/// A variant of `map` that fallback to returning `orElse`.
|
||
|
|
///
|
||
|
|
/// It is equivalent to doing:
|
||
|
|
/// ```dart
|
||
|
|
/// switch (sealedClass) {
|
||
|
|
/// case final Subclass value:
|
||
|
|
/// return ...;
|
||
|
|
/// case _:
|
||
|
|
/// return orElse();
|
||
|
|
/// }
|
||
|
|
/// ```
|
||
|
|
|
||
|
|
@optionalTypeArgs TResult maybeMap<TResult extends Object?>({TResult Function( ApiNetworkException value)? network,TResult Function( ApiTimeoutException value)? timeout,TResult Function( ApiServerException value)? server,TResult Function( ApiParseException value)? parse,TResult Function( ApiCancelledException value)? cancelled,TResult Function( ApiUnknownException value)? unknown,required TResult orElse(),}){
|
||
|
|
final _that = this;
|
||
|
|
switch (_that) {
|
||
|
|
case ApiNetworkException() when network != null:
|
||
|
|
return network(_that);case ApiTimeoutException() when timeout != null:
|
||
|
|
return timeout(_that);case ApiServerException() when server != null:
|
||
|
|
return server(_that);case ApiParseException() when parse != null:
|
||
|
|
return parse(_that);case ApiCancelledException() when cancelled != null:
|
||
|
|
return cancelled(_that);case ApiUnknownException() when unknown != null:
|
||
|
|
return unknown(_that);case _:
|
||
|
|
return orElse();
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
/// A `switch`-like method, using callbacks.
|
||
|
|
///
|
||
|
|
/// Callbacks receives the raw object, upcasted.
|
||
|
|
/// It is equivalent to doing:
|
||
|
|
/// ```dart
|
||
|
|
/// switch (sealedClass) {
|
||
|
|
/// case final Subclass value:
|
||
|
|
/// return ...;
|
||
|
|
/// case final Subclass2 value:
|
||
|
|
/// return ...;
|
||
|
|
/// }
|
||
|
|
/// ```
|
||
|
|
|
||
|
|
@optionalTypeArgs TResult map<TResult extends Object?>({required TResult Function( ApiNetworkException value) network,required TResult Function( ApiTimeoutException value) timeout,required TResult Function( ApiServerException value) server,required TResult Function( ApiParseException value) parse,required TResult Function( ApiCancelledException value) cancelled,required TResult Function( ApiUnknownException value) unknown,}){
|
||
|
|
final _that = this;
|
||
|
|
switch (_that) {
|
||
|
|
case ApiNetworkException():
|
||
|
|
return network(_that);case ApiTimeoutException():
|
||
|
|
return timeout(_that);case ApiServerException():
|
||
|
|
return server(_that);case ApiParseException():
|
||
|
|
return parse(_that);case ApiCancelledException():
|
||
|
|
return cancelled(_that);case ApiUnknownException():
|
||
|
|
return unknown(_that);}
|
||
|
|
}
|
||
|
|
/// A variant of `map` that fallback to returning `null`.
|
||
|
|
///
|
||
|
|
/// It is equivalent to doing:
|
||
|
|
/// ```dart
|
||
|
|
/// switch (sealedClass) {
|
||
|
|
/// case final Subclass value:
|
||
|
|
/// return ...;
|
||
|
|
/// case _:
|
||
|
|
/// return null;
|
||
|
|
/// }
|
||
|
|
/// ```
|
||
|
|
|
||
|
|
@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>({TResult? Function( ApiNetworkException value)? network,TResult? Function( ApiTimeoutException value)? timeout,TResult? Function( ApiServerException value)? server,TResult? Function( ApiParseException value)? parse,TResult? Function( ApiCancelledException value)? cancelled,TResult? Function( ApiUnknownException value)? unknown,}){
|
||
|
|
final _that = this;
|
||
|
|
switch (_that) {
|
||
|
|
case ApiNetworkException() when network != null:
|
||
|
|
return network(_that);case ApiTimeoutException() when timeout != null:
|
||
|
|
return timeout(_that);case ApiServerException() when server != null:
|
||
|
|
return server(_that);case ApiParseException() when parse != null:
|
||
|
|
return parse(_that);case ApiCancelledException() when cancelled != null:
|
||
|
|
return cancelled(_that);case ApiUnknownException() when unknown != null:
|
||
|
|
return unknown(_that);case _:
|
||
|
|
return null;
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
/// A variant of `when` that fallback to an `orElse` callback.
|
||
|
|
///
|
||
|
|
/// It is equivalent to doing:
|
||
|
|
/// ```dart
|
||
|
|
/// switch (sealedClass) {
|
||
|
|
/// case Subclass(:final field):
|
||
|
|
/// return ...;
|
||
|
|
/// case _:
|
||
|
|
/// return orElse();
|
||
|
|
/// }
|
||
|
|
/// ```
|
||
|
|
|
||
|
|
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>({TResult Function( String message)? network,TResult Function()? timeout,TResult Function( int statusCode, String message)? server,TResult Function( String message)? parse,TResult Function()? cancelled,TResult Function( String message)? unknown,required TResult orElse(),}) {final _that = this;
|
||
|
|
switch (_that) {
|
||
|
|
case ApiNetworkException() when network != null:
|
||
|
|
return network(_that.message);case ApiTimeoutException() when timeout != null:
|
||
|
|
return timeout();case ApiServerException() when server != null:
|
||
|
|
return server(_that.statusCode,_that.message);case ApiParseException() when parse != null:
|
||
|
|
return parse(_that.message);case ApiCancelledException() when cancelled != null:
|
||
|
|
return cancelled();case ApiUnknownException() when unknown != null:
|
||
|
|
return unknown(_that.message);case _:
|
||
|
|
return orElse();
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
/// A `switch`-like method, using callbacks.
|
||
|
|
///
|
||
|
|
/// As opposed to `map`, this offers destructuring.
|
||
|
|
/// It is equivalent to doing:
|
||
|
|
/// ```dart
|
||
|
|
/// switch (sealedClass) {
|
||
|
|
/// case Subclass(:final field):
|
||
|
|
/// return ...;
|
||
|
|
/// case Subclass2(:final field2):
|
||
|
|
/// return ...;
|
||
|
|
/// }
|
||
|
|
/// ```
|
||
|
|
|
||
|
|
@optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function( String message) network,required TResult Function() timeout,required TResult Function( int statusCode, String message) server,required TResult Function( String message) parse,required TResult Function() cancelled,required TResult Function( String message) unknown,}) {final _that = this;
|
||
|
|
switch (_that) {
|
||
|
|
case ApiNetworkException():
|
||
|
|
return network(_that.message);case ApiTimeoutException():
|
||
|
|
return timeout();case ApiServerException():
|
||
|
|
return server(_that.statusCode,_that.message);case ApiParseException():
|
||
|
|
return parse(_that.message);case ApiCancelledException():
|
||
|
|
return cancelled();case ApiUnknownException():
|
||
|
|
return unknown(_that.message);}
|
||
|
|
}
|
||
|
|
/// A variant of `when` that fallback to returning `null`
|
||
|
|
///
|
||
|
|
/// It is equivalent to doing:
|
||
|
|
/// ```dart
|
||
|
|
/// switch (sealedClass) {
|
||
|
|
/// case Subclass(:final field):
|
||
|
|
/// return ...;
|
||
|
|
/// case _:
|
||
|
|
/// return null;
|
||
|
|
/// }
|
||
|
|
/// ```
|
||
|
|
|
||
|
|
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult? Function( String message)? network,TResult? Function()? timeout,TResult? Function( int statusCode, String message)? server,TResult? Function( String message)? parse,TResult? Function()? cancelled,TResult? Function( String message)? unknown,}) {final _that = this;
|
||
|
|
switch (_that) {
|
||
|
|
case ApiNetworkException() when network != null:
|
||
|
|
return network(_that.message);case ApiTimeoutException() when timeout != null:
|
||
|
|
return timeout();case ApiServerException() when server != null:
|
||
|
|
return server(_that.statusCode,_that.message);case ApiParseException() when parse != null:
|
||
|
|
return parse(_that.message);case ApiCancelledException() when cancelled != null:
|
||
|
|
return cancelled();case ApiUnknownException() when unknown != null:
|
||
|
|
return unknown(_that.message);case _:
|
||
|
|
return null;
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
|
||
|
|
|
||
|
|
class ApiNetworkException implements ApiException {
|
||
|
|
const ApiNetworkException(this.message);
|
||
|
|
|
||
|
|
|
||
|
|
final String message;
|
||
|
|
|
||
|
|
/// Create a copy of ApiException
|
||
|
|
/// with the given fields replaced by the non-null parameter values.
|
||
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
||
|
|
@pragma('vm:prefer-inline')
|
||
|
|
$ApiNetworkExceptionCopyWith<ApiNetworkException> get copyWith => _$ApiNetworkExceptionCopyWithImpl<ApiNetworkException>(this, _$identity);
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
bool operator ==(Object other) {
|
||
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is ApiNetworkException&&(identical(other.message, message) || other.message == message));
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
int get hashCode => Object.hash(runtimeType,message);
|
||
|
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'ApiException.network(message: $message)';
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
abstract mixin class $ApiNetworkExceptionCopyWith<$Res> implements $ApiExceptionCopyWith<$Res> {
|
||
|
|
factory $ApiNetworkExceptionCopyWith(ApiNetworkException value, $Res Function(ApiNetworkException) _then) = _$ApiNetworkExceptionCopyWithImpl;
|
||
|
|
@useResult
|
||
|
|
$Res call({
|
||
|
|
String message
|
||
|
|
});
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
/// @nodoc
|
||
|
|
class _$ApiNetworkExceptionCopyWithImpl<$Res>
|
||
|
|
implements $ApiNetworkExceptionCopyWith<$Res> {
|
||
|
|
_$ApiNetworkExceptionCopyWithImpl(this._self, this._then);
|
||
|
|
|
||
|
|
final ApiNetworkException _self;
|
||
|
|
final $Res Function(ApiNetworkException) _then;
|
||
|
|
|
||
|
|
/// Create a copy of ApiException
|
||
|
|
/// with the given fields replaced by the non-null parameter values.
|
||
|
|
@pragma('vm:prefer-inline') $Res call({Object? message = null,}) {
|
||
|
|
return _then(ApiNetworkException(
|
||
|
|
null == message ? _self.message : message // ignore: cast_nullable_to_non_nullable
|
||
|
|
as String,
|
||
|
|
));
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
|
||
|
|
|
||
|
|
class ApiTimeoutException implements ApiException {
|
||
|
|
const ApiTimeoutException();
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
bool operator ==(Object other) {
|
||
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is ApiTimeoutException);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
int get hashCode => runtimeType.hashCode;
|
||
|
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'ApiException.timeout()';
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
|
||
|
|
|
||
|
|
class ApiServerException implements ApiException {
|
||
|
|
const ApiServerException(this.statusCode, this.message);
|
||
|
|
|
||
|
|
|
||
|
|
final int statusCode;
|
||
|
|
final String message;
|
||
|
|
|
||
|
|
/// Create a copy of ApiException
|
||
|
|
/// with the given fields replaced by the non-null parameter values.
|
||
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
||
|
|
@pragma('vm:prefer-inline')
|
||
|
|
$ApiServerExceptionCopyWith<ApiServerException> get copyWith => _$ApiServerExceptionCopyWithImpl<ApiServerException>(this, _$identity);
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
bool operator ==(Object other) {
|
||
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is ApiServerException&&(identical(other.statusCode, statusCode) || other.statusCode == statusCode)&&(identical(other.message, message) || other.message == message));
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
int get hashCode => Object.hash(runtimeType,statusCode,message);
|
||
|
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'ApiException.server(statusCode: $statusCode, message: $message)';
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
abstract mixin class $ApiServerExceptionCopyWith<$Res> implements $ApiExceptionCopyWith<$Res> {
|
||
|
|
factory $ApiServerExceptionCopyWith(ApiServerException value, $Res Function(ApiServerException) _then) = _$ApiServerExceptionCopyWithImpl;
|
||
|
|
@useResult
|
||
|
|
$Res call({
|
||
|
|
int statusCode, String message
|
||
|
|
});
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
/// @nodoc
|
||
|
|
class _$ApiServerExceptionCopyWithImpl<$Res>
|
||
|
|
implements $ApiServerExceptionCopyWith<$Res> {
|
||
|
|
_$ApiServerExceptionCopyWithImpl(this._self, this._then);
|
||
|
|
|
||
|
|
final ApiServerException _self;
|
||
|
|
final $Res Function(ApiServerException) _then;
|
||
|
|
|
||
|
|
/// Create a copy of ApiException
|
||
|
|
/// with the given fields replaced by the non-null parameter values.
|
||
|
|
@pragma('vm:prefer-inline') $Res call({Object? statusCode = null,Object? message = null,}) {
|
||
|
|
return _then(ApiServerException(
|
||
|
|
null == statusCode ? _self.statusCode : statusCode // ignore: cast_nullable_to_non_nullable
|
||
|
|
as int,null == message ? _self.message : message // ignore: cast_nullable_to_non_nullable
|
||
|
|
as String,
|
||
|
|
));
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
|
||
|
|
|
||
|
|
class ApiParseException implements ApiException {
|
||
|
|
const ApiParseException(this.message);
|
||
|
|
|
||
|
|
|
||
|
|
final String message;
|
||
|
|
|
||
|
|
/// Create a copy of ApiException
|
||
|
|
/// with the given fields replaced by the non-null parameter values.
|
||
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
||
|
|
@pragma('vm:prefer-inline')
|
||
|
|
$ApiParseExceptionCopyWith<ApiParseException> get copyWith => _$ApiParseExceptionCopyWithImpl<ApiParseException>(this, _$identity);
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
bool operator ==(Object other) {
|
||
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is ApiParseException&&(identical(other.message, message) || other.message == message));
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
int get hashCode => Object.hash(runtimeType,message);
|
||
|
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'ApiException.parse(message: $message)';
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
abstract mixin class $ApiParseExceptionCopyWith<$Res> implements $ApiExceptionCopyWith<$Res> {
|
||
|
|
factory $ApiParseExceptionCopyWith(ApiParseException value, $Res Function(ApiParseException) _then) = _$ApiParseExceptionCopyWithImpl;
|
||
|
|
@useResult
|
||
|
|
$Res call({
|
||
|
|
String message
|
||
|
|
});
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
/// @nodoc
|
||
|
|
class _$ApiParseExceptionCopyWithImpl<$Res>
|
||
|
|
implements $ApiParseExceptionCopyWith<$Res> {
|
||
|
|
_$ApiParseExceptionCopyWithImpl(this._self, this._then);
|
||
|
|
|
||
|
|
final ApiParseException _self;
|
||
|
|
final $Res Function(ApiParseException) _then;
|
||
|
|
|
||
|
|
/// Create a copy of ApiException
|
||
|
|
/// with the given fields replaced by the non-null parameter values.
|
||
|
|
@pragma('vm:prefer-inline') $Res call({Object? message = null,}) {
|
||
|
|
return _then(ApiParseException(
|
||
|
|
null == message ? _self.message : message // ignore: cast_nullable_to_non_nullable
|
||
|
|
as String,
|
||
|
|
));
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
|
||
|
|
|
||
|
|
class ApiCancelledException implements ApiException {
|
||
|
|
const ApiCancelledException();
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
bool operator ==(Object other) {
|
||
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is ApiCancelledException);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
int get hashCode => runtimeType.hashCode;
|
||
|
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'ApiException.cancelled()';
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
|
||
|
|
|
||
|
|
class ApiUnknownException implements ApiException {
|
||
|
|
const ApiUnknownException(this.message);
|
||
|
|
|
||
|
|
|
||
|
|
final String message;
|
||
|
|
|
||
|
|
/// Create a copy of ApiException
|
||
|
|
/// with the given fields replaced by the non-null parameter values.
|
||
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
||
|
|
@pragma('vm:prefer-inline')
|
||
|
|
$ApiUnknownExceptionCopyWith<ApiUnknownException> get copyWith => _$ApiUnknownExceptionCopyWithImpl<ApiUnknownException>(this, _$identity);
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
bool operator ==(Object other) {
|
||
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is ApiUnknownException&&(identical(other.message, message) || other.message == message));
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
@override
|
||
|
|
int get hashCode => Object.hash(runtimeType,message);
|
||
|
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'ApiException.unknown(message: $message)';
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// @nodoc
|
||
|
|
abstract mixin class $ApiUnknownExceptionCopyWith<$Res> implements $ApiExceptionCopyWith<$Res> {
|
||
|
|
factory $ApiUnknownExceptionCopyWith(ApiUnknownException value, $Res Function(ApiUnknownException) _then) = _$ApiUnknownExceptionCopyWithImpl;
|
||
|
|
@useResult
|
||
|
|
$Res call({
|
||
|
|
String message
|
||
|
|
});
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
/// @nodoc
|
||
|
|
class _$ApiUnknownExceptionCopyWithImpl<$Res>
|
||
|
|
implements $ApiUnknownExceptionCopyWith<$Res> {
|
||
|
|
_$ApiUnknownExceptionCopyWithImpl(this._self, this._then);
|
||
|
|
|
||
|
|
final ApiUnknownException _self;
|
||
|
|
final $Res Function(ApiUnknownException) _then;
|
||
|
|
|
||
|
|
/// Create a copy of ApiException
|
||
|
|
/// with the given fields replaced by the non-null parameter values.
|
||
|
|
@pragma('vm:prefer-inline') $Res call({Object? message = null,}) {
|
||
|
|
return _then(ApiUnknownException(
|
||
|
|
null == message ? _self.message : message // ignore: cast_nullable_to_non_nullable
|
||
|
|
as String,
|
||
|
|
));
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
// dart format on
|