toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'arn': arn,
    'lastReportedAt': lastReportedAt,
    'owningAccountId': owningAccountId,
    'properties': pulumi.Input.mapInputValue<List<SearchResourceProperty>, List<Map<String, dynamic>>>(properties, (value) => pulumi.Input.encodeList<SearchResourceProperty, Map<String, dynamic>>(value, (value) => value.toMap())),
    'region': region,
    'resourceType': resourceType,
    'service': service,
  };
}