firstIntValue method

int? firstIntValue(
  1. List<Map<String, Object?>> list
)

Implementation

int? firstIntValue(List<Map<String, Object?>> list) {
  if (list.isNotEmpty) {
    final Map<String, Object?> firstRow = list.first;
    if (firstRow.isNotEmpty) {
      return parseInt(firstRow.values.first);
    }
  }
  return null;
}