Extension methods are added to the classes of existing libraries, which we cannot directly modify, to add additional functionalities. Dart 2.7, introduced extension methods. Extensions can not only consist of methods, but also getters, setters and operators. We implement extension methods with the syntax: extension <extension_name> on <type> { (<member definition>)* } Generally, when we […]

Continue Reading