GoogleCloudDiscoveryengineV1betaReplyReference.fromMap constructor
GoogleCloudDiscoveryengineV1betaReplyReference.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GoogleCloudDiscoveryengineV1betaReplyReference.fromMap(Map<String, dynamic> map) {
return GoogleCloudDiscoveryengineV1betaReplyReference(
anchorText: (() { final guardedValue = map['anchorText']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
end: (() { final guardedValue = map['end']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as int); })(),
start: (() { final guardedValue = map['start']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as int); })(),
uri: (() { final guardedValue = map['uri']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}