Dart

Dart and Flutter

Dart How to define an array with mixed data type in gRPC

Anarrayandmapdatatypeisuseful.IsitpossibletousethemingRPC?YES,itis.Let'sdefinetheminProtocolBufferandimplementtheminDart...
Dart and Flutter

Dart gRPC How to handle multi-data type property

InProtocolBuffer,wecandefineapropertythatcanhavemultipledatatypes.Adifferentdatatypeneedstobeassigneddependingonthesitua...
Dart and Flutter

Dart gRPC Bidirectional streaming example

IpostedthefollowinggRPCarticlesbefore.Ifyouhavesomethingunknowninthispost,pleasegotothefollowingpagestoo.DartHowtosetupd...
Dart and Flutter

Dart Client Streaming gRPC function example to Upload a file

WewilllearnhowtoimplementtheclientstreaminggRPCfunctioninthispost.Ifyouhavesomethingunknowninthispost,pleasegotothefollo...
Dart and Flutter

Dart Server Streaming gRPC function example to download a file

WewilldigintoastreaminggRPCfunctioninthispost.Pleasecheckthefollowingposttooifyouhaven'treadit.DartHowtosetupdevcontaine...
Dart and Flutter

Dart The first gRPC server and client with timestamp

Let's try to define the first gRPC functions and implement it in both server and client side. This is the good start point of gRPC.
Dart and Flutter

Dart How to setup devcontainer for gRPC

The official side shows examples but you might run into some problems to setup the environment in devcontainer. Let's setup the env with me to save your time.
Dart and Flutter

Learn implementation of Disjoint-set (Union Find) in Dart

Disjoint-set is one of the Data Structures. It's useful to merge two elements and check whether an element is in the same group as another element. Let's learn how it work and how to implement it.
Dart and Flutter

Flutter Freezed autogenerates code for copyWith, serialization, and equal

Some methods need to be overridden for a data class to copy, compare, and convert from/to JSON. Freezed package auto generates those codes from a simple class definition. Let's try to use it.
Dart and Flutter

Dart How to remove duplicates by key-values in object list (Distinct)

list.toSet method doesn't work as expected for an object list to get unique object list? Then, let's add index parameter to the callback of list.where so that we can remove duplicates by key-values.