perspolis
0
Q:

question mark in dart

// This means a equals b, but if b is null then a equals 'hello'.

String a = b ?? 'hello';


// This means if b is null then set it equal to hello. Otherwise, don't change it.
b ??= 'hello';
2
// This means a equals b, but if b is null then a equals 'hello'.

String a = b ?? 'hello';
0
childCount: snapshot.data?.length ?? 0,
0

New to Communities?

Join the community