List interfaces(Type type)

Source

List<dynamic> interfaces(Type type) {
  if (this._injectableInfo.containsKey(type)) {
    var res = this._getReflectionInfo(type).interfaces;
    return res ?? [];
  } else {
    return this.reflectionCapabilities.interfaces(type);
  }
}