-
-
Couldn't load subscription status.
- Fork 1.2k
Closed
Labels
HacktoberfestIssues taking part in HacktoberfestIssues taking part in HacktoberfestenhancementNew feature or requestNew feature or requesttriage
Description
Plugin
device_info_plus
Use case
renaming toMap() as toJson would improve compatibility with dart:convert
see referece at https://api.dart.dev/be/175791/dart-convert/jsonEncode.html
If toEncodable is omitted, it defaults to a function that returns the result of calling .toJson() on the unencodable object.
Proposal
rename BaseDeviceInfo method toMap() as toJson() and to all overrides across the package
Metadata
Metadata
Assignees
Labels
HacktoberfestIssues taking part in HacktoberfestIssues taking part in HacktoberfestenhancementNew feature or requestNew feature or requesttriage