toJson method

String toJson()

toJson is the method to convert the android device information to json.

Implementation

String toJson() => json.encode(toMap());