build static method

MyRadio build(
  1. Map<String, dynamic> ds, {
  2. bool forceHttps = false,
})

Implementation

static MyRadio build(Map<String, dynamic> ds, {bool forceHttps = false}) {
  return MyRadio()..fromJson(ds, forceHttps: forceHttps);
}