encode static method

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

Implementation

static Map<String, dynamic> encode(FormShareOptions 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;
}