SubmitStrategy.fromJson(Map<String, dynamic> json) : type = submitStrategyTypeFromString(json['type']), batchSize = json['batchSize'];