XIconData.fromRemote constructor

XIconData.fromRemote(
  1. String resource
)

Implementation

factory XIconData.fromRemote(String resource) {
  // 1. validate
  assert(isValidResourceUrl(resource));
  return XIconData(resource, type: XIconType.LOCAL_ASSET);
}