supports method

bool supports(
  1. dynamic obj
)

Implementation

bool supports(dynamic obj) => obj is String || obj is List<Object?>;