DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR DART
dart how to tell if an object is an instance of a class
if (emp is Person) { // Type check emp.firstName = 'Bob'; }
Source by dart.dev #
PREVIOUS
NEXT
Tagged:
#dart
#object
#instance
#class
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit