getList method

List? getList(
  1. Object obj
)

Implementation

List? getList(Object obj) {
  List? l;
  if (obj is List) {
    l = obj;
  }
  return l;
}