copyWith method
LoginEntity
copyWith({
- int? loginType,
- String? clientId,
- int? effectTime,
- int? code,
- LoginAccount? account,
- String? token,
- LoginProfile? profile,
- List<
LoginBindings> ? bindings,
Implementation
LoginEntity copyWith({
int? loginType,
String? clientId,
int? effectTime,
int? code,
LoginAccount? account,
String? token,
LoginProfile? profile,
List<LoginBindings>? bindings,
}) {
return LoginEntity()
..loginType = loginType ?? this.loginType
..clientId = clientId ?? this.clientId
..effectTime = effectTime ?? this.effectTime
..code = code ?? this.code
..account = account ?? this.account
..token = token ?? this.token
..profile = profile ?? this.profile
..bindings = bindings ?? this.bindings;
}