toMap method

Map<String, Object?> toMap()

Encodes this action using standard message-codec values.

Implementation

Map<String, Object?> toMap() => <String, Object?>{'type': type, 'url': url};