toString method

  1. @override
String toString()
override

Standard string representation of this resource.

Returns:

  • The JSON representation as a string
  • Provides consistent formatting for all resources

Note: Uses the toJson implementation for serialization.

Implementation

@override
String toString() => toJson().toString();