Skip to content

RPSignatureResult

The signature used in RPConsentSignatureResult

It represents a signature with the participants name and signature image.

Inheritance
Annotations

Constructors

RPSignatureResult.fromJson

RPSignatureResult.fromJson(
  1. Map<String, dynamic> json
)

RPSignatureResult

RPSignatureResult({
  1. String? firstName,
  2. String? lastName,
  3. String? signatureImage,
})

Create a RPSignatureResult.

RPSignatureResult.withParams

RPSignatureResult.withParams(
  1. String? firstName,
  2. String? lastName,
  3. String? signatureImage
)

Properties

firstName

String? firstName
getter/setter pair

The person's first name

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

fullName

String get fullName

Returns the person's full name with space between first and last name

lastName

String? lastName
getter/setter pair

The person's last name

signatureImage

String? signatureImage
getter/setter pair

The image of the provided signature in png format as bytes

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.