Skip to content

Instantly share code, notes, and snippets.

View abdorll's full-sized avatar
🧑‍💻
Coding...

Abdullah Opadeji abdorll

🧑‍💻
Coding...
View GitHub Profile
@abdorll
abdorll / main.dart
Created August 19, 2022 18:50
hollow-eucalyptus-9972
import 'dart:math';
void main(){
int toAdd =0;
int add =bikes.fold(toAdd, (a,b)=> a + b.power!);
print(bikes.singleWhere((a)=> a.power!>7, orElse).name! );
// print (add);
// print(bikes.where((e)=>
// e.name!.contains('b')).