Use double quotes
This commit is contained in:
parent
53867e273b
commit
43ad7937f9
6 changed files with 49 additions and 49 deletions
|
@ -4,7 +4,7 @@
|
|||
// 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 'matrix_user.dart';
|
||||
part of "matrix_user.dart";
|
||||
|
||||
// **************************************************************************
|
||||
// FreezedGenerator
|
||||
|
@ -20,7 +20,7 @@ mixin _$MatrixUser {
|
|||
/// Create a copy of MatrixUser
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
@pragma("vm:prefer-inline")
|
||||
$MatrixUserCopyWith<MatrixUser> get copyWith => _$MatrixUserCopyWithImpl<MatrixUser>(this as MatrixUser, _$identity);
|
||||
|
||||
/// Serializes this MatrixUser to a JSON map.
|
||||
|
@ -38,7 +38,7 @@ int get hashCode => Object.hash(runtimeType,userId,matrixToken);
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return 'MatrixUser(userId: $userId, matrixToken: $matrixToken)';
|
||||
return "MatrixUser(userId: $userId, matrixToken: $matrixToken)";
|
||||
}
|
||||
|
||||
|
||||
|
@ -66,7 +66,7 @@ class _$MatrixUserCopyWithImpl<$Res>
|
|||
|
||||
/// Create a copy of MatrixUser
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline') @override $Res call({Object? userId = null,Object? matrixToken = null,}) {
|
||||
@pragma("vm:prefer-inline") @override $Res call({Object? userId = null,Object? matrixToken = null,}) {
|
||||
return _then(_self.copyWith(
|
||||
userId: null == userId ? _self.userId : userId // ignore: cast_nullable_to_non_nullable
|
||||
as String,matrixToken: null == matrixToken ? _self.matrixToken : matrixToken // ignore: cast_nullable_to_non_nullable
|
||||
|
@ -90,7 +90,7 @@ class _MatrixUser implements MatrixUser {
|
|||
/// Create a copy of MatrixUser
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override @JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
@pragma("vm:prefer-inline")
|
||||
_$MatrixUserCopyWith<_MatrixUser> get copyWith => __$MatrixUserCopyWithImpl<_MatrixUser>(this, _$identity);
|
||||
|
||||
@override
|
||||
|
@ -109,7 +109,7 @@ int get hashCode => Object.hash(runtimeType,userId,matrixToken);
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return 'MatrixUser(userId: $userId, matrixToken: $matrixToken)';
|
||||
return "MatrixUser(userId: $userId, matrixToken: $matrixToken)";
|
||||
}
|
||||
|
||||
|
||||
|
@ -137,7 +137,7 @@ class __$MatrixUserCopyWithImpl<$Res>
|
|||
|
||||
/// Create a copy of MatrixUser
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override @pragma('vm:prefer-inline') $Res call({Object? userId = null,Object? matrixToken = null,}) {
|
||||
@override @pragma("vm:prefer-inline") $Res call({Object? userId = null,Object? matrixToken = null,}) {
|
||||
return _then(_MatrixUser(
|
||||
userId: null == userId ? _self.userId : userId // ignore: cast_nullable_to_non_nullable
|
||||
as String,matrixToken: null == matrixToken ? _self.matrixToken : matrixToken // ignore: cast_nullable_to_non_nullable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue