mergeFontWeight static method

Map<String, FontWeight> mergeFontWeight(
  1. Map<String, FontWeight> defaults,
  2. Map<String, FontWeight> user
)

Implementation

static Map<String, FontWeight> mergeFontWeight(
    Map<String, FontWeight> defaults, Map<String, FontWeight> user) {
  return {...defaults, ...user}; // Properly merges user-defined values
}