toMap abstract method

Map<String, dynamic> toMap()

This function is override for conversion of user object to Json format

Implementation

Map<String, dynamic> toMap();