emptyMapToNull static method

MulticastConfiguration? emptyMapToNull(
  1. Map<String, dynamic>? json
)

Implementation

static MulticastConfiguration? emptyMapToNull(Map<String, dynamic>? json) =>
    json != null && json.keys.isNotEmpty
        ? MulticastConfiguration.fromJson(json)
        : null;