toMapAndroid method

List<String> toMapAndroid()

Implementation

List<String> toMapAndroid() {
  if (subdomains.isEmpty) {
    return [
      url,
    ];
  }
  return List.generate(
      subdomains.length, (i) => url.replaceAll("{s}", subdomains[i]));
}