encode static method

Map<String, dynamic> encode(
  1. InvoiceShareOptions value
)

Implementation

static Map<String, dynamic> encode(InvoiceShareOptions value) {
	Map<String, dynamic> entityAsMap = {
		"requestedPermissions" : RequestedPermission.encode(value.requestedPermissions),
		"shareEncryptionKey" : ShareMetadataBehaviour.encode(value.shareEncryptionKey),
		"sharePatientId" : ShareMetadataBehaviour.encode(value.sharePatientId),
		"shareSecretIds" : SecretIdShareOptions.encode(value.shareSecretIds)
	};
	return entityAsMap;
}