SnapdLoginResponse constructor Null safety

const SnapdLoginResponse(
  1. {int? id,
  2. String? username,
  3. String? email,
  4. String? macaroon,
  5. List<String> discharges = const [],
  6. List<String> sshKeys = const []}
)

Implementation

const SnapdLoginResponse(
    {this.id,
    this.username,
    this.email,
    this.macaroon,
    this.discharges = const [],
    this.sshKeys = const []});