toData method

Future<T> toData()

Implementation

Future<T> toData() async {
  return dataOrThrowFirstValidationError(await this);
}