toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "code": code,
      "description": description,
      "device_identifier": deviceIdentifier,
      "device_info": deviceInfo,
      "company_licence_code": companyLicenceCode,
      "created_at": createdAt?.toIso8601String(),
      "created_by": createdBy,
      "write_at": writeAt?.toIso8601String(),
      "write_by": writeBy,
    };