itemFactoryFunc method

  1. @override
CollectionModel itemFactoryFunc(
  1. Map<String, dynamic> json
)
override

The factory function (eg. fromJson()) that will be used to decode the returned items from the crud endpoints.

Implementation

@override
CollectionModel itemFactoryFunc(Map<String, dynamic> json) =>
    CollectionModel.fromJson(json);