getTestId method

  1. @override
String getTestId({
  1. String key = defaultTestIdKey,
})
override

Gets the defaultTestIdKey prop value, or one testId from the prop (or custom key prop value).

For use in a testing environment (when testMode is true).

Implementation

@override
String getTestId({String key = defaultTestIdKey}) =>
    throw UnimplementedError('@PropsMixin instances do not implement getTestId');