1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Add New Methods to inbuilt Classes and Interfaces with Extension Methods in Dart

    Jermaine OppongJermaine Oppong
    flutterFlutter
    dartDart

    Extension methods allow you to add new methods to classes without directly changing its original interface or creating a derived class. We will explore examples of working with this feature by extending some inbuilt types.

    Learn more about Extension Methods at https://medium.com/dartlang/extension-methods-2d466cd8b308

    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Discuss

    Discuss