static List<Mode> listFromJson( List<dynamic> json, ) => json .map( (value) => Mode.fromJson(value), ) .toList();