toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'repoSources': pulumi.Input.mapInputValue<List<GetTriggerBuildSourceRepoSource>, List<Map<String, dynamic>>>(repoSources, (value) => pulumi.Input.encodeList<GetTriggerBuildSourceRepoSource, Map<String, dynamic>>(value, (value) => value.toMap())),
    'storageSources': pulumi.Input.mapInputValue<List<GetTriggerBuildSourceStorageSource>, List<Map<String, dynamic>>>(storageSources, (value) => pulumi.Input.encodeList<GetTriggerBuildSourceStorageSource, Map<String, dynamic>>(value, (value) => value.toMap())),
  };
}