Skip to content

Instantly share code, notes, and snippets.

@diefferson
Created June 8, 2021 01:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diefferson/fddfd917870aeabfc65fc5a0a4191cf8 to your computer and use it in GitHub Desktop.
Save diefferson/fddfd917870aeabfc65fc5a0a4191cf8 to your computer and use it in GitHub Desktop.
Stark Disposable Interface
import 'package:stark/stark.dart';
class LoginViewModel implements Disposable {
@override
dispose(){
//this method is called when the LoginViewModel is diposed, use to dispose your RX Subjects or Streams
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment