toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (assignedUserRoleId != null)
        'assignedUserRoleId': assignedUserRoleId!,
      if (partnerId != null) 'partnerId': partnerId!,
      if (userRole != null) 'userRole': userRole!,
    };