toStorage method

dynamic toStorage()

Return a representation of the model class. E.g. Product class

import 'package:nylo_support/helpers/helper.dart';

class Product extends Storable { ... @override toStorage() { return { "title": title, "price": price, "imageUrl": imageUrl }; } }

Implementation

toStorage() {
  return {};
}