toEncodable method

  1. @Deprecated('Use toJson instead.')
Iterable<Object?> toEncodable()

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

Implementation

@Deprecated('Use toJson instead.')
Iterable<Object?> toEncodable() => list;