newFactory method

T newFactory(
  1. Map<String, dynamic> data
)

Implementation

T newFactory(Map<String, dynamic> data) => throw UnimplementedError(
      'newFactory must be implemented in the child model',
    );