get method

  1. @override
Future<T?> get([
  1. Map? args
])
override

Implementation

@override
Future<T?> get([Map? args]) {
  return (apiSource as GetApiSource<T>).get(args).then((result) async {
    if (result != null) {
      await (dbSource as SimplePutDbSource<T>).put(result, args);
    }
    return result;
  });
}