Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

extension function flutter

extension NumberParsing on String {
  int parseInt() {
    return int.parse(this);
  }
  // ···
}
Source by dart.dev #
 
PREVIOUS NEXT
Tagged: #extension #function #flutter
ADD COMMENT
Topic
Name
7+1 =