isValidTokenValue static method

bool isValidTokenValue(
  1. dynamic v
)

Returns true if the token is a valid value.

Implementation

static bool isValidTokenValue(v) => v is String || v is num;