resolveMessage abstract method

String? resolveMessage(
  1. String code,
  2. Locale locale
)

Resolve a message for the given code and locale.

Subclasses must implement this method to provide the actual message lookup logic. This method should return null if the message is not found for the given locale.

Parameters:

  • code: The message code to resolve
  • locale: The locale to resolve for

Returns the message template or null if not found.

Implementation

String? resolveMessage(String code, Locale locale);