GoogleCloudDiscoveryengineV1alphaReplyReference.fromMap constructor

GoogleCloudDiscoveryengineV1alphaReplyReference.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudDiscoveryengineV1alphaReplyReference.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDiscoveryengineV1alphaReplyReference(
    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); })(),
  );
}