toMap method

Map<String, dynamic> toMap()

Creates a Map<String, dynamic> map representation of this instance.

This can be useful for saving the instance in a database.

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
      _companyKey: company,
      _departmentKey: department,
      _jobTitleKey: jobTitle,
    };