Categories
Dart Flutter

BDD With Gherkin In Flutter

In this post we will learn about Behavior Driven Development BDD with Gherkin in Flutter. We will introduce the concept of BDD and learn how we can write Gherkin syntax feature files and parse them in Flutter. We will go over writing step definitions in detail and setup automated testing for the steps. Introduction To […]

Categories
Dart

For Loop, For Each Loop And Map In Dart

As the title suggests, in this post we will learn about various options for looping over collections in Dart. Specifically, we learn to use for,forEach and map in Dart. Introduction When working in any application, you quickly come across the need to work with collection of data. It can be a collection of simple strings […]

Categories
Dart Flutter

How To Decode A JSON Web Token(JWT) In Dart

This post covers the topic how to decode a JSON Web Token(JWT) in dart. We will learn about different elements of JWT and then write a function to extract payload data from token value. Introduction JSON Web Token (JWT) is an industry standard mechanism to pass security credentials and claims in a client-server architecture. A […]

Categories
Dart

A Class In Dart

In this post, we will explore the object oriented concept of a class in Dart language. We will go in depth on topics such as constructors, abstract class, and private/public identifiers. Introduction In object oriented programming, a class is the most important basic building block. It represents a blueprint for creating data structure. It encapsulates […]