cast<T extends StellarMemo> method

T cast<T extends StellarMemo>()

Implementation

T cast<T extends StellarMemo>() {
  if (this is! T) {
    throw DartStellarPlugingException("Stellar Memo Casting failed.",
        details: {"excepted": "$T", "type": runtimeType.toString()});
  }
  return this as T;
}