attribution property

Future<String?> attribution

Contains an attribution to be displayed when the map is shown to a user.

Implementation

Future<String?> get attribution async {
  return _style?.getStyleSourceProperty(id, "attribution").then((value) {
    if (value.value != null) {
      return value.value as String;
    } else {
      return null;
    }
  });
}