toEncodable method

  1. @Deprecated('Use toJson instead.')
Map<String, Object?> toEncodable()

Returns data as an encodable object compatible with json.encode().

Implementation

@Deprecated('Use toJson instead.')
Map<String, Object?> toEncodable() => map;