extractOtherProperties static method

Map<String, dynamic> extractOtherProperties(
  1. List<Property>? properties
)

Implementation

static Map<String, dynamic> extractOtherProperties(
    List<Property>? properties) {
  final map = <String, dynamic>{};

  for (var element in properties ?? const <Property>[]) {
    if (element.value != null && element.name != null) {
      map[element.name!] = element.value;
    }
  }
  return map;
}