toMap<T> abstract method

Map<String, dynamic> toMap<T>(
  1. T object
)

Encodes a value to a map.

This is a typed wrapper around the toValue method.

Implementation

Map<String, dynamic> toMap<T>(T object);