toStringOverride function

String toStringOverride(
  1. dynamic object,
  2. List items,
  3. List<String> names
)

Implementation

String toStringOverride(
  dynamic object,
  List<dynamic> items,
  List<String> names,
) =>
    '${object.runtimeType.toString()}(${<String>[
      for (final List<dynamic> z in zip(<List<dynamic>>[names, items]))
        '${z[0]}: ${z[1]}'
    ].join(', ')})';