GetDocumentSchemaArgs.fromMap constructor

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

Implementation

factory GetDocumentSchemaArgs.fromMap(Map<String, dynamic> map) {
  return GetDocumentSchemaArgs(
    documentSchemaId: pulumi.Input.fromValue(map['documentSchemaId'] as String),
    location: pulumi.Input.fromValue(map['location'] as String),
    project: (() { final guardedValue = map['project']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}