encode static method

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

Implementation

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