fromMap static method

SMapFinlandColors fromMap(
  1. Map<String, Color?> map
)

Implementation

static SMapFinlandColors fromMap(Map<String, Color?> map) {
  return SMapFinlandColors(
    fi01: map["FI-01"],
    fi02: map["FI-02"],
    fi03: map["FI-03"],
    fi04: map["FI-04"],
    fi05: map["FI-05"],
    fi06: map["FI-06"],
    fi07: map["FI-07"],
    fi08: map["FI-08"],
    fi09: map["FI-09"],
    fi10: map["FI-10"],
    fi11: map["FI-11"],
    fi12: map["FI-12"],
    fi13: map["FI-13"],
    fi14: map["FI-14"],
    fi15: map["FI-15"],
    fi16: map["FI-16"],
    fi17: map["FI-17"],
    fi18: map["FI-18"],
    fi19: map["FI-19"],
  );
}