toJson method

Map toJson()

Implementation

Map toJson() => {
      'name': name,
      'email': email,
      'phone': phone,
    };