copyWith method

PassportElements copyWith({
  1. List<PassportElement>? elements,
  2. dynamic extra,
  3. int? clientId,
})

Implementation

PassportElements copyWith({
  List<PassportElement>? elements,
  dynamic extra,
  int? clientId,
}) => PassportElements(
  elements: elements ?? this.elements,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);