copyWith method

LoginBodyModel copyWith({
  1. String? username,
  2. String? password,
  3. String? cusMobileno,
  4. String? phoneOs,
  5. String? phoneBrand,
  6. String? deviceId,
  7. String? phoneModel,
})

Implementation

LoginBodyModel copyWith({  String? username,
  String? password,
  String? cusMobileno,
  String? phoneOs,
  String? phoneBrand,
  String? deviceId,
  String? phoneModel,
}) => LoginBodyModel(  username: username ?? _username,
  password: password ?? _password,
  cusMobileno: cusMobileno ?? _cusMobileno,
  phoneOs: phoneOs ?? _phoneOs,
  phoneBrand: phoneBrand ?? _phoneBrand,
  deviceId: deviceId ?? _deviceId,
  phoneModel: phoneModel ?? _phoneModel,
);