Constructor to create an immutable result.
BcsVariantDecodeResult(Map<String, dynamic> result) : result = result.immutable;