toString method

  1. @override
String toString ()
override

Returns a string representation of this object.

Implementation

@override
String toString() {
  switch (stringify) {
    case true:
      return mapPropsToString(runtimeType, props);
    case false:
      return '$runtimeType';
    default:
      return EquatableConfig.stringify == true
          ? mapPropsToString(runtimeType, props)
          : '$runtimeType';
  }
}