It shall be the duty of the public defender to represent and act as attorney for indigent defendants in those criminal cases referred to him or her by the supreme court, by the superior courts, by the district courts, and as are set forth in § 14-1-31, and he or she shall be engaged full time in that capacity.
R.I. Gen. Laws § 12-15-3