CodeForPairingDevice constructor

CodeForPairingDevice({
  1. String? firmId,
  2. String? chainId,
  3. String? boutiqueId,
  4. String? userId,
  5. int? code,
  6. Timestamp? timestampUTC,
})

Implementation

factory CodeForPairingDevice({
  $core.String? firmId,
  $core.String? chainId,
  $core.String? boutiqueId,
  $core.String? userId,
  $core.int? code,
  $18.Timestamp? timestampUTC,
}) {
  final result = create();
  if (firmId != null) {
    result.firmId = firmId;
  }
  if (chainId != null) {
    result.chainId = chainId;
  }
  if (boutiqueId != null) {
    result.boutiqueId = boutiqueId;
  }
  if (userId != null) {
    result.userId = userId;
  }
  if (code != null) {
    result.code = code;
  }
  if (timestampUTC != null) {
    result.timestampUTC = timestampUTC;
  }
  return result;
}