CollectionMockModel<T, Result> constructor

CollectionMockModel<T, Result>([
  1. List<T>? value
])

Abstract class for creating mocks for collections.

It is necessary to add the mock method.

Implementation

CollectionMockModel([List<T>? value]) : super(value ?? []);