Skip to content

Instantly share code, notes, and snippets.

View humblerookie's full-sized avatar
:octocat:
Wineapple

Anvith Bhat humblerookie

:octocat:
Wineapple
View GitHub Profile
@humblerookie
humblerookie / IoTransformer.dart
Created August 18, 2019 14:20
Dart IO Pooling Stream/Observable transformer
import 'dart:async';
import 'package:isolate/isolate_runner.dart';
import 'package:isolate/load_balancer.dart';
class IoTransformer<S, T> implements StreamTransformer<S, T> {
StreamController _controller;
StreamSubscription _subscription;
@humblerookie
humblerookie / json_decoder.dart
Last active February 13, 2022 02:15
Dio Built Value Json Decoder/Transformer for Dart/Flutter
import 'dart:convert';
import 'package:my_app/data_model/serializers.dart';
import 'package:flutter/foundation.dart';
Future<T> decodeJson<T>(String res) async {
var list = List();
list.add(res);
list.add(T);
//Replace compute with spawning any other isolate, compute is simpler abstraction of isolate api.
@humblerookie
humblerookie / PRIVACY_POLICY.MD
Last active September 19, 2018 02:58
Privacy Policy for Cryptoniffler app android

Privacy Policy

Anvith Bhat built the CryptoNiffler app as a Free app. This SERVICE is provided by Anvith Bhat at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

Information Collection and Use