seedData abstract method

void seedData(
  1. String route,
  2. Map<TId, dynamic> data
)

Seeds the sim api with initial data

route The API route to seed data The initial data to seed, where the key is the resource ID and the value is the resource data.

This method is useful for initializing the sim api with predefined data.

Implementation

void seedData(String route, Map<TId, dynamic> data);