HomeSection.fromMap constructor

HomeSection.fromMap(
  1. Map<String, dynamic> map
)

Implementation

HomeSection.fromMap(Map<String, dynamic> map)
    : title = map['title'] as String,
      contents = map['contents'] as List<dynamic>;