toAndroid static method

String toAndroid(
  1. String attributeName
)

Converts a given svg attribute name into its android counterpart. Throws if there is no counterpart.

Implementation

static String toAndroid(String attributeName) {
  final value = _convertMap[attributeName];
  if (value == null) {
    throw InvalidAttributeNameException(attributeName);
  }
  return value;
}