register method

void register(
  1. MockData mock
)

注册Mock数据

Implementation

void register(MockData mock) {
  mocks.add(mock);
}