getSnapshotState method

  1. @override
Future getSnapshotState()

Get the current state for snapshot creation

Implementation

@override
Future<dynamic> getSnapshotState() async =>
    isInitialized ? invoiceStateToMap(currentState) : null;