Browse Source

style: prettier

DEV-4541-Go-go-reloaded-synchronous-project-reveiw
davhojt 1 year ago committed by Dav Hojt
parent
commit
4d7ce71190
  1. 2
      subjects/mobile-dev/circle/README.md
  2. 1
      subjects/mobile-dev/named-required-sum/README.md
  3. 5
      subjects/mobile-dev/person/README.md
  4. 13
      subjects/mobile-dev/student/README.md
  5. 2
      subjects/mobile-dev/university/README.md
  6. 1
      subjects/mobile-dev/variables/README.md

2
subjects/mobile-dev/circle/README.md

@ -11,6 +11,7 @@ Attributes:
- `radius`: `double`
Getters:
- `area`
- `perimeter`
- `rightMostCoordinate`: (x axis)
@ -19,6 +20,7 @@ Getters:
- `lowestCoordinate`: (y axis)
Constructor:
- `x`: `required`
- `y`: `required`
- `radius`: `required`

1
subjects/mobile-dev/named-required-sum/README.md

@ -3,6 +3,7 @@
### Instructions
Write a function named `namedRequiredSum`, that returns the sum of its required [named](https://dart.dev/guides/language/language-tour) `int` parameters:
- `first`
- `second`
- `third`

5
subjects/mobile-dev/person/README.md

@ -23,6 +23,7 @@ Constructor:
### Object Oriented Programming
Dart supports object oriented programming, and it features heavily in Flutter. Classes have 2 main concepts.
- Attributes: store data about the instance of a class.
- Methods: are func functions, which can use class attributes for various manipulations.
@ -48,7 +49,7 @@ class Point {
Point(double x, double y) {
// Sets the attributes to the value of the constructor arguments.
this.y = y;
this.x = x;
this.x = x;
}
}
```
@ -62,7 +63,7 @@ class Point {
double x;
double y;
Point(this.x, this.y);
Point(this.x, this.y);
}
```

13
subjects/mobile-dev/student/README.md

@ -11,12 +11,13 @@ Attributes:
- `secretKey`: private `string`. Defaults to "01".
Constructor:
- `name`: `string`
- `cityOfOrigin`: `string`
- `age`: `int`
- `height`: `int`
- `batch`: `int`
- `level`: `int`
- `name`: `string`
- `cityOfOrigin`: `string`
- `age`: `int`
- `height`: `int`
- `batch`: `int`
- `level`: `int`
### Inheritance

2
subjects/mobile-dev/university/README.md

@ -11,11 +11,13 @@ Attributes:
- `ranking`: `private int?`
Getters:
- `name`
- `city`
- `ranking`
Constructor:
- `name`: `required`
- `city`: `required`
- `ranking`: `optional`

1
subjects/mobile-dev/variables/README.md

@ -13,6 +13,7 @@ String strSpongebob = 'Spongebob';
```
Declare and initialize the following variables:
- `obj` of type `Object`, containing any value.
- `planet` of type `String`, containing the name of the planet you live on.
- `year` of type `int`, containing the current year.

Loading…
Cancel
Save