contains method

dynamic contains(
  1. String? value
)

Implementation

contains(String? value) {
  return list!.contains(value);
}