args property

Map<String, Object?> args
final

Already in wire form — a DateTime as epoch milliseconds, an enum as its constant name — which is what the generated native decoder reads. Assert on this rather than on what you passed, since the conversion is the part that can be wrong.

Implementation

final Map<String, Object?> args;