write method

void write(
  1. Object mock
)

Writes a value to the box based on the runtimeType of mock.

Implementation

void write(Object mock) {
  debugPrintSynchronously(
      '${IntegrationLog.tag} 📦 Writing \'${mock.runtimeType}\' to mocks!');
  _mocksMap[mock.runtimeType] = mock;
}