fromList static method

SwiftOptions fromList(
  1. Map<String, Object> map
)

Creates a SwiftOptions from a Map representation where: x = SwiftOptions.fromList(x.toMap()).

Implementation

static SwiftOptions fromList(Map<String, Object> map) {
  return SwiftOptions(
    copyrightHeader: map['copyrightHeader'] as Iterable<String>?,
  );
}