InformedConsentInput constructor

InformedConsentInput({
  1. DateTime? signedTimestamp,
  2. String? signedLocation,
  3. required String userId,
  4. required String name,
  5. required String consent,
  6. required String signatureImage,
})

Implementation

InformedConsentInput({
  DateTime? signedTimestamp,
  this.signedLocation,
  required this.userId,
  required this.name,
  required this.consent,
  required this.signatureImage,
}) : super() {
  this.signedTimestamp = (signedTimestamp ?? DateTime.now()).toUtc();
}