fromJson static method

FormatOptionsHelper fromJson(
  1. Map<String, dynamic> json
)

Implementation

static FormatOptionsHelper fromJson(Map<String, dynamic> json) {
  final options = <FormatOption>[];
  for (final e in json['options']) {
    options.add(FormatOption.fromJson(e));
  }
  return FormatOptionsHelper(
    options: options,
  );
}