getMethodNames method Null safety

List<String> getMethodNames(
  1. dynamic obj
)

Gets names of all methods implemented in specified object.

  • obj an objec to introspect. Returns a list with method names.