envelopeKey property

String? envelopeKey
final

When set, WtModel unwraps response[envelopeKey] before parsing, so an API that replies { "state": true, "data": {...} } is read transparently. Leave null for a bare API that returns the object/array directly.

Implementation

final String? envelopeKey;