copyWith method

InfoWindow copyWith({
  1. String? titleParam,
  2. String? snippetParam,
})

气泡copy方法

Implementation

InfoWindow copyWith({
  String? titleParam,
  String? snippetParam,
}) {
  return InfoWindow(
    title: titleParam ?? title,
    snippet: snippetParam ?? snippet,
  );
}