toMap method

Map<String, dynamic>? toMap()

Returns the normalized map or null if empty.

Implementation

Map<String, dynamic>? toMap() =>
    _args.isEmpty ? null : Map<String, dynamic>.from(_args);