buildTestPlatform method

AsserestTestPlatform<AsserestProperty> buildTestPlatform(
  1. AsserestProperty property
)

Generate AsserestTestPlatform from given property.

If the given property type does not assigned the corresponsed AsserestTestPlatformBuilder, TypeError will be thrown.

Implementation

AsserestTestPlatform buildTestPlatform(AsserestProperty property) =>
    _platformBuilders[property.runtimeType]!(property);